mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
-I option error
This commit is contained in:
1 parent
65f0399ba0
commit
3fdc4091ef
1 file changed
+5
@@ -25,6 +25,11 @@ import subprocess
|
||||
import platform
|
||||
from pydoc import ModuleScanner
|
||||
|
||||
if not sys.flags.isolated:
|
||||
print("running without -I option.")
|
||||
print("python -I whats_left.py")
|
||||
exit(1)
|
||||
|
||||
GENERATED_FILE = "extra_tests/snippets/not_impl.py"
|
||||
|
||||
implementation = platform.python_implementation()
|
||||
|
||||
Reference in new issue
Block a user