Issue #21768: fix NameError in test_pydescr. Patch by Claudiu Popa.
This commit is contained in:
parent
fe928de955
commit
af9eb9628d
|
@ -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…
Reference in New Issue