Issue #21768: fix NameError in test_pydescr. Patch by Claudiu Popa.

This commit is contained in:
Terry Jan Reedy 2014-06-20 15:16:35 -04:00
parent fe928de955
commit af9eb9628d
1 changed files with 1 additions and 1 deletions

View File

@ -1149,7 +1149,7 @@ order (MRO) for bases """
except (TypeError, UnicodeEncodeError):
pass
else:
raise TestFailed("[chr(128)] slots not caught")
self.fail("[chr(128)] slots not caught")
# Test leaks
class Counted(object):