diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-06-20 19:16:35 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-06-20 19:16:35 (GMT) |
commit | af9eb9628d833c8096e4438a48655ed07996137a (patch) | |
tree | e14f2ec21b0ae5b750d935655defdc894c6e9782 /Lib/test/test_descr.py | |
parent | fe928de955ec5043dd7c8b9388dbb0ccfabbdc80 (diff) | |
download | cpython-af9eb9628d833c8096e4438a48655ed07996137a.zip cpython-af9eb9628d833c8096e4438a48655ed07996137a.tar.gz cpython-af9eb9628d833c8096e4438a48655ed07996137a.tar.bz2 |
Issue #21768: fix NameError in test_pydescr. Patch by Claudiu Popa.
Diffstat (limited to 'Lib/test/test_descr.py')
-rw-r--r-- | Lib/test/test_descr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 8bb7d6a..26c273a 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -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): |