summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Quast <jquast@io.com>2015-01-04 00:06:02 -0800
committerJeff Quast <jquast@io.com>2015-01-04 00:06:02 -0800
commit78cbca896974fd7b6d412476a02421736d138422 (patch)
tree26a595e84b715607b58a990b654b00eab7d54f68
parenta96479959d9dcc97651fef5a09149860f0e11877 (diff)
downloadblessings-78cbca896974fd7b6d412476a02421736d138422.tar.gz
make termwrap test less computationally expensive
-rw-r--r--blessed/tests/accessories.py2
-rw-r--r--blessed/tests/test_wrap.py4
2 files changed, 2 insertions, 4 deletions
diff --git a/blessed/tests/accessories.py b/blessed/tests/accessories.py
index 9c06688..f6970ae 100644
--- a/blessed/tests/accessories.py
+++ b/blessed/tests/accessories.py
@@ -30,7 +30,7 @@ SEND_SEMAPHORE = SEMAPHORE = b'SEMAPHORE\n'
RECV_SEMAPHORE = b'SEMAPHORE\r\n'
all_xterms_params = ['xterm', 'xterm-256color']
many_lines_params = [30, 100]
-many_columns_params = [1, 25, 50]
+many_columns_params = [1, 25]
from blessed._binterms import binary_terminals
default_all_terms = ['screen', 'vt220', 'rxvt', 'cons25', 'linux', 'ansi']
try:
diff --git a/blessed/tests/test_wrap.py b/blessed/tests/test_wrap.py
index 1e12060..c253aa3 100644
--- a/blessed/tests/test_wrap.py
+++ b/blessed/tests/test_wrap.py
@@ -68,9 +68,7 @@ def test_SequenceWrapper(all_terms, many_columns, kwargs):
# build a test paragraph, along with a very colorful version
t = TestTerminal()
pgraph = u' '.join((
- 'a', 'bc', 'def', 'ghij', 'klmno', 'pqrstu', 'vwxyz012',
- '34567890A', 'BCDEFGHIJK', 'LMNOPQRSTUV', 'WXYZabcdefgh',
- 'ijklmnopqrstu', 'vwxyz123456789', '0ABCDEFGHIJKLMN '))
+ 'a', 'bc', 'vwxyz123456789ABCDEFGHIJKLMN ')) * 2
pgraph_colored = u''.join([
t.color(idx % 7)(char) if char != ' ' else ' '