This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
5937f4c0c0
circuitpython
/
tests
/
cmdline
/
repl_micropyinspect
4 lines
44 B
Plaintext
Raw
Normal View
History
Unescape
Escape
remove last uses of 'u' prefix
2023-08-22 11:15:46 -04:00
import os
tests/cmdline: Add test for MICROPYINSPECT environment variable. When this variable is set to non-empty string it triggers the REPL after a command/module/file finishes running. The Python file without the file extension is because the cmdline: parser in run-test splits on spaces, so we can't use the -c option since `import os` can't be written without a space.
2020-02-01 22:10:42 -05:00
remove last uses of 'u' prefix
2023-08-22 11:15:46 -04:00
os.putenv('MICROPYINSPECT', '1')
Reference in New Issue
Copy Permalink