Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
f6518a7b
Commit
f6518a7b
authored
Jun 15, 2015
by
Damien George
Browse files
tests: Check that machine module exists and print SKIP if it doesn't.
parent
d59ca4ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/extmod/machine1.py
View file @
f6518a7b
# test machine module
import
machine
try
:
import
machine
except
ImportError
:
print
(
"SKIP"
)
import
sys
sys
.
exit
()
import
uctypes
print
(
machine
.
mem8
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment