Skip to content

Commit 29aad1d

Browse files
committed
fix test
1 parent 2ba6351 commit 29aad1d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/test/test_traceback.py

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

47604760
code = """
4761-
import msvcrt
4761+
import sys
4762+
sys.stdlib_module_names = sys.stdlib_module_names + ("boo",)
4763+
import boo
47624764
"""
47634765
_, _, stderr = assert_python_failure('-S', '-c', code)
47644766

0 commit comments

Comments
 (0)