diff options
Diffstat (limited to 'Lib/test/test_bool.py')
-rw-r--r-- | Lib/test/test_bool.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_bool.py b/Lib/test/test_bool.py index f2a4322..33185a0 100644 --- a/Lib/test/test_bool.py +++ b/Lib/test/test_bool.py @@ -329,17 +329,17 @@ class BoolTest(unittest.TestCase): def __nonzero__(self): return self check(Foo()) - + class Bar(object): def __nonzero__(self): return "Yes" check(Bar()) - + class Baz(int): def __nonzero__(self): return self check(Baz()) - + def test_main(): test_support.run_unittest(BoolTest) |