tests: Skip parser test if "compile" builtin is not available.
This commit is contained in:
parent
96f0dd3cbc
commit
3900fed849
|
@ -1,5 +1,12 @@
|
|||
# parser tests
|
||||
|
||||
try:
|
||||
compile
|
||||
except NameError:
|
||||
print("SKIP")
|
||||
import sys
|
||||
sys.exit()
|
||||
|
||||
# completely empty string
|
||||
# uPy and CPy differ for this case
|
||||
#try:
|
||||
|
|
Loading…
Reference in New Issue