diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-11-20 17:22:13 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-11-20 17:22:13 (GMT) |
commit | 5c41787f13bbf26741ad2a7bee97d4d83fed0d43 (patch) | |
tree | 1f37a94f6ebba144b683b10a4fb2bfe419f24faa | |
parent | 72288d4f3cf1e4a66ed8575cb3063ad6a6810f82 (diff) | |
download | cpython-5c41787f13bbf26741ad2a7bee97d4d83fed0d43.zip cpython-5c41787f13bbf26741ad2a7bee97d4d83fed0d43.tar.gz cpython-5c41787f13bbf26741ad2a7bee97d4d83fed0d43.tar.bz2 |
add space
-rw-r--r-- | Lib/test/test_isinstance.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_isinstance.py b/Lib/test/test_isinstance.py index 50920c5..dc2d074 100644 --- a/Lib/test/test_isinstance.py +++ b/Lib/test/test_isinstance.py @@ -86,10 +86,10 @@ class TestIsInstanceExceptions(unittest.TestCase): def test_isinstance_dont_mask_non_attribute_error(self): class C(object): def getclass(self): - raise RuntimeError() - __class__=property(getclass) + raise RuntimeError + __class__ = property(getclass) - c=C() + c = C() self.assertRaises(RuntimeError, isinstance, c, bool) # test another code path |