kopia lustrzana https://github.com/micropython/micropython
tests: Skip special math fun tests when math module exists but not funs.
rodzic
803264bb17
commit
25f1264699
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from math import *
|
from math import *
|
||||||
except ImportError:
|
erf
|
||||||
|
except (ImportError, NameError):
|
||||||
print("SKIP")
|
print("SKIP")
|
||||||
import sys
|
import sys
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
Ładowanie…
Reference in New Issue