Closed alexkey79 closed 5 years ago
when try to use the test command
exit(0 if ok else 1)
NameError: name 'exit' is not defined
If you don't have the site module automatically imported (see https://docs.python.org/3/library/constants.html) add from sys import exit at the beginning.
from sys import exit
when try to use the test command
exit(0 if ok else 1)
NameError: name 'exit' is not defined