Skip to content

Commit 3fdc409

Browse files
committed
-I option error
1 parent 65f0399 commit 3fdc409

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

whats_left.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
import platform
2626
from pydoc import ModuleScanner
2727

28+
if not sys.flags.isolated:
29+
print("running without -I option.")
30+
print("python -I whats_left.py")
31+
exit(1)
32+
2833
GENERATED_FILE = "extra_tests/snippets/not_impl.py"
2934

3035
implementation = platform.python_implementation()

0 commit comments

Comments
 (0)