diff options
author | Jeff Quast <jquast@io.com> | 2015-01-03 19:26:26 -0800 |
---|---|---|
committer | Jeff Quast <jquast@io.com> | 2015-01-03 19:26:26 -0800 |
commit | a640b004655371681964b0f04d8911ab21cca88a (patch) | |
tree | 41db1c80b77f2ef2687f5a92d41ae985b454c06b | |
parent | 136102b0197ed051847b087b4175a8f36f519dfc (diff) | |
download | blessings-a640b004655371681964b0f04d8911ab21cca88a.tar.gz |
appears travis-ci's toe(1) output is empty ?
-rw-r--r-- | blessed/tests/accessories.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/blessed/tests/accessories.py b/blessed/tests/accessories.py index 8cd1e1e..46a3972 100644 --- a/blessed/tests/accessories.py +++ b/blessed/tests/accessories.py @@ -31,16 +31,16 @@ all_xterms_params = ['xterm', 'xterm-256color'] many_lines_params = [30, 100] many_columns_params = [1, 25, 50] from blessed._binterms import binary_terminals +default_all_terms = ['screen', 'vt220', 'rxvt', 'cons25', 'linux', 'ansi'] try: - all_terms_params = (set( + all_terms_params = list(set( _term.split(None, 1)[0].decode('ascii') for _term in subprocess.Popen(["toe"], stdout=subprocess.PIPE, close_fds=True) .communicate()[0].splitlines() ) - (set(binary_terminals) if not os.environ.get('TEST_BINTERMS') - else set())) + else set())) or default_all_terms except OSError: - all_terms_params = ['screen', 'vt220', 'rxvt', - 'cons25', 'linux', 'ansi'] + all_terms_params = default_all_terms class as_subprocess(object): |