tests/float: Make various tests skippable.
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
# test construction of array from array with float type
|
||||
|
||||
from array import array
|
||||
try:
|
||||
from array import array
|
||||
except ImportError:
|
||||
import sys
|
||||
print("SKIP")
|
||||
sys.exit()
|
||||
|
||||
print(array('f', array('h', [1, 2])))
|
||||
print(array('d', array('f', [1, 2])))
|
||||
|
||||
Reference in New Issue
Block a user