mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
tests: Skip special math fun tests when math module exists but not funs.
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
|
||||
try:
|
||||
from math import *
|
||||
except ImportError:
|
||||
erf
|
||||
except (ImportError, NameError):
|
||||
print("SKIP")
|
||||
import sys
|
||||
sys.exit()
|
||||
|
||||
Reference in New Issue
Block a user