diff options
Diffstat (limited to 'Lib/test/test_exceptions.py')
-rw-r--r-- | Lib/test/test_exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index 06861df..7ee203c 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -19,7 +19,7 @@ def test_raise_catch(exc): def r(thing): test_raise_catch(thing) - if type(thing) == ClassType: + if isinstance(thing, ClassType): print thing.__name__ else: print thing |