Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c41787

Browse files
committed
add space
1 parent 72288d4 commit 5c41787

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lib/test/test_isinstance.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ def getbases(self):
8686
def test_isinstance_dont_mask_non_attribute_error(self):
8787
class C(object):
8888
def getclass(self):
89-
raise RuntimeError()
90-
__class__=property(getclass)
89+
raise RuntimeError
90+
__class__ = property(getclass)
9191

92-
c=C()
92+
c = C()
9393
self.assertRaises(RuntimeError, isinstance, c, bool)
9494

9595
# test another code path

0 commit comments

Comments
 (0)