This commit is contained in:
algonell 2024-09-09 15:58:26 +03:00 committed by GitHub
parent df4f0cbfad
commit 9017b95ff2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
43 changed files with 59 additions and 59 deletions

View file

@ -2192,7 +2192,7 @@ class AbstractPicklingErrorTests:
@support.cpython_only
def test_bad_ext_code(self):
# This should never happen in normal circumstances, because the type
# and the value of the extesion code is checked in copyreg.add_extension().
# and the value of the extension code is checked in copyreg.add_extension().
key = (__name__, 'MyList')
def check(code, exc):
assert key not in copyreg._extension_registry