summaryrefslogtreecommitdiff
path: root/blessings
diff options
context:
space:
mode:
authorjquast <contact@jeffquast.com>2013-11-04 19:00:45 -0800
committerjquast <contact@jeffquast.com>2013-11-04 19:00:45 -0800
commit831dc8ab6e6535c8cca738b814b00e40dd639c8f (patch)
tree2ecf733283bc611bf68f7fa4b4f815d05a3a2f15 /blessings
parent536396a69c7e6c2f36e4961e6ab67d78444e14de (diff)
downloadblessings-831dc8ab6e6535c8cca738b814b00e40dd639c8f.tar.gz
fix testing height and width for integer
Diffstat (limited to 'blessings')
-rw-r--r--blessings/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/blessings/tests.py b/blessings/tests.py
index 7dda746..168c396 100644
--- a/blessings/tests.py
+++ b/blessings/tests.py
@@ -68,11 +68,11 @@ def test_parametrization():
eq_(TestTerminal().cup(3, 4), unicode_parm('cup', 3, 4))
-def height_and_width():
+def test_height_and_width():
"""Assert that ``height_and_width()`` returns ints."""
t = TestTerminal() # kind shouldn't matter.
- assert isinstance(int, t.height)
- assert isinstance(int, t.width)
+ assert isinstance(t.height, int)
+ assert isinstance(t.width, int)
def test_stream_attr():