mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +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):
|
except (TypeError, UnicodeEncodeError):
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
raise TestFailed("[chr(128)] slots not caught")
|
self.fail("[chr(128)] slots not caught")
|
||||||
|
|
||||||
# Test leaks
|
# Test leaks
|
||||||
class Counted(object):
|
class Counted(object):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue