Skip to content

Commit 1797508

Browse files
authored
gh-144878: Gate PEP 810 builtins in xpickle compat tests (#144889)
1 parent 837166f commit 1797508

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/pickletester.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3202,6 +3202,7 @@ def test_builtin_exceptions(self):
32023202
'ExceptionGroup': (3, 11),
32033203
'_IncompleteInputError': (3, 13),
32043204
'PythonFinalizationError': (3, 13),
3205+
'ImportCycleError': (3, 15),
32053206
}
32063207
for t in builtins.__dict__.values():
32073208
if isinstance(t, type) and issubclass(t, BaseException):
@@ -3228,6 +3229,7 @@ def test_builtin_functions(self):
32283229
'breakpoint': (3, 7),
32293230
'aiter': (3, 10),
32303231
'anext': (3, 10),
3232+
'__lazy_import__': (3, 15),
32313233
}
32323234
for t in builtins.__dict__.values():
32333235
if isinstance(t, types.BuiltinFunctionType):

0 commit comments

Comments
 (0)