diff options
author | Erik Rose <erik@mozilla.com> | 2011-11-07 02:40:39 -0800 |
---|---|---|
committer | Erik Rose <erik@mozilla.com> | 2011-11-07 02:40:39 -0800 |
commit | f44b071db8480c787f3dffd80c4e0595850a9134 (patch) | |
tree | d67df8bb5642485d67f6672a1421c57ea32899a1 | |
parent | 605457cb5854e99282f58ec79cccd0ec6564235c (diff) | |
download | blessings-f44b071db8480c787f3dffd80c4e0595850a9134.tar.gz |
Fix a buggy test that crashed when run with anything but nose-progressive (which was conveniently calling setupterm() itself).terminator-1.0.11.0.1
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | terminator/tests.py | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -180,6 +180,8 @@ Version History 1.0.1 * Fixed a crash when piping output to other programs. Funny how the very act of releasing software causes bugs to emerge, isn't it? + * Fixed a buggy test that crashed when run with anything but nose-progressive + (which was conveniently calling setupterm() itself). 1.0 * Extracted Terminator from nose-progressive, my `progress-bar-having, diff --git a/terminator/tests.py b/terminator/tests.py index 431238f..4140162 100644 --- a/terminator/tests.py +++ b/terminator/tests.py @@ -16,8 +16,8 @@ def test_capability(): assumes it will be run from a tty. """ - sc = tigetstr('sc') t = Terminal() + sc = tigetstr('sc') eq_(t.save, sc) eq_(t.save, sc) # Make sure caching doesn't screw it up. |