mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
tests/float: Make various tests skippable.
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
# test builtin min and max functions with float args
|
||||
try:
|
||||
min
|
||||
max
|
||||
except:
|
||||
import sys
|
||||
print("SKIP")
|
||||
sys.exit()
|
||||
|
||||
print(min(0,1.0))
|
||||
print(min(1.0,0))
|
||||
|
||||
Reference in New Issue
Block a user