summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst2
-rw-r--r--terminator/tests.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 83aaf1a..d65016c 100644
--- a/README.rst
+++ b/README.rst
@@ -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.