Files
RustPython/tests/snippets/sysmod.py
2019-05-11 11:43:11 +03:00

7 lines
179 B
Python

import sys
print(sys.argv)
assert sys.argv[0].endswith('.py')
assert sys.platform == "linux" or sys.platform == "darwin" or sys.platform == "win32" or sys.platform == "unknown"