diff options
author | jquast <contact@jeffquast.com> | 2013-11-04 19:00:45 -0800 |
---|---|---|
committer | jquast <contact@jeffquast.com> | 2013-11-04 19:00:45 -0800 |
commit | 831dc8ab6e6535c8cca738b814b00e40dd639c8f (patch) | |
tree | 2ecf733283bc611bf68f7fa4b4f815d05a3a2f15 | |
parent | 536396a69c7e6c2f36e4961e6ab67d78444e14de (diff) | |
download | blessings-831dc8ab6e6535c8cca738b814b00e40dd639c8f.tar.gz |
fix testing height and width for integer
-rw-r--r-- | blessings/tests.py | 6 |
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(): |