We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90b783d commit 6c96767Copy full SHA for 6c96767
1 file changed
python2/koans/about_new_style_classes.py
@@ -41,6 +41,10 @@ def test_old_style_classes_have_type_but_no_class_attribute(self):
41
except Exception as ex:
42
pass
43
44
+ #
45
+ # Let's look at the error message we get when trying to invoke
46
+ # __class__ on an old style class object
47
48
self.assertMatch(__, ex[0])
49
50
def test_new_style_classes_have_same_class_as_type(self):
0 commit comments