Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Don't test against sys (for now).
  • Loading branch information
ericsnowcurrently committed Mar 31, 2023
commit 88c099b03aaff34484e2f939029564d253cf2008
4 changes: 3 additions & 1 deletion Lib/test/test_import/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,9 @@ def check_incompatible_isolated(self, name):
)

def test_builtin_compat(self):
module = 'sys'
# For now we avoid using sys or builtins
# since they still don't implement multi-phase init.
module = '_imp'
with self.subTest(f'{module}: not strict'):
self.check_compatible_shared(module, strict=False)
with self.subTest(f'{module}: strict, shared'):
Expand Down