mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #21768: fix NameError in test_pydescr. Patch by Claudiu Popa.
This commit is contained in:
parent
fe928de955
commit
af9eb9628d
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue