diff options
author | Erik Rose <grinch@grinchcentral.com> | 2013-08-30 00:16:39 -0400 |
---|---|---|
committer | Erik Rose <grinch@grinchcentral.com> | 2013-08-30 00:20:43 -0400 |
commit | 7eb5c1854398d95c054f50f95f75a12b9b42a24b (patch) | |
tree | 6d2d0c42747850fdb86b5b71d4c0568be7670908 /blessings/tests.py | |
parent | 1e3454aec2e987e17981f0ae268521da3ef50183 (diff) | |
download | blessings-7eb5c1854398d95c054f50f95f75a12b9b42a24b.tar.gz |
Explain the new behavior to myself. Remove 1 test assertion. No non-test behavior changes. Bump version to 1.5.1.
Remove one test assertion that already occurs almost verbatim in test_formatting_functions_without_tty().
Diffstat (limited to 'blessings/tests.py')
-rw-r--r-- | blessings/tests.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/blessings/tests.py b/blessings/tests.py index 85855d8..c7a3527 100644 --- a/blessings/tests.py +++ b/blessings/tests.py @@ -257,9 +257,13 @@ def test_force_styling_none(): def test_null_callable_string(): - """With no tty NullCallableString is used.""" + """Make sure NullCallableString tolerates all numbers and kinds of args it might receive.""" t = TestTerminal(stream=StringIO()) - eq_(t.bold('hello, world'), 'hello, world') + + # I don't promise this will keep working; it's not documented anywhere. + # However, it's what I intend to happen in an edge case, so let's make sure + # it works. eq_(t.clear(), '') + eq_(t.move(1, 2), '') eq_(t.move_x(1), '') |