Skip to content

Commit

Permalink
Make this koan a little clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmalcolm committed Jul 18, 2013
1 parent 90b783d commit 6c96767
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python2/koans/about_new_style_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ def test_old_style_classes_have_type_but_no_class_attribute(self):
except Exception as ex:
pass

#
# Let's look at the error message we get when trying to invoke
# __class__ on an old style class object
#
self.assertMatch(__, ex[0])

def test_new_style_classes_have_same_class_as_type(self):
Expand Down

0 comments on commit 6c96767

Please sign in to comment.