Kaydet (Commit) 5c41787f authored tarafından Benjamin Peterson's avatar Benjamin Peterson

add space

üst 72288d4f
...@@ -86,10 +86,10 @@ class TestIsInstanceExceptions(unittest.TestCase): ...@@ -86,10 +86,10 @@ class TestIsInstanceExceptions(unittest.TestCase):
def test_isinstance_dont_mask_non_attribute_error(self): def test_isinstance_dont_mask_non_attribute_error(self):
class C(object): class C(object):
def getclass(self): def getclass(self):
raise RuntimeError() raise RuntimeError
__class__=property(getclass) __class__ = property(getclass)
c=C() c = C()
self.assertRaises(RuntimeError, isinstance, c, bool) self.assertRaises(RuntimeError, isinstance, c, bool)
# test another code path # test another code path
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment