diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-09 00:11:05 +0100 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-09 00:11:05 +0100 |
commit | a0cbc108ba9dbdd4cc223486561f3e6a347e2d0a (patch) | |
tree | d52948935921977275e406c38ef7fe4b8fbb184d /tests/float/array_construct.py | |
parent | 983144404b6526c22e5c4224807ea4214e11e248 (diff) |
tests/float: Make various tests skippable.
Diffstat (limited to 'tests/float/array_construct.py')
-rw-r--r-- | tests/float/array_construct.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/float/array_construct.py b/tests/float/array_construct.py index a25cc72c8..7e01fd476 100644 --- a/tests/float/array_construct.py +++ b/tests/float/array_construct.py @@ -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]))) |