Skip to content

Commit 2ba6351

Browse files
committed
fix test
1 parent ca64ada commit 2ba6351

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Lib/test/test_traceback.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4758,9 +4758,7 @@ def test_no_site_package_flavour(self):
47584758
)
47594759

47604760
code = """
4761-
import sys
4762-
sys.builtin_module_names = sys.builtin_module_names + ("boo",)
4763-
import boo
4761+
import msvcrt
47644762
"""
47654763
_, _, stderr = assert_python_failure('-S', '-c', code)
47664764

0 commit comments

Comments
 (0)