diff options
Diffstat (limited to 'tests/float/array_construct.py')
-rw-r--r-- | tests/float/array_construct.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/float/array_construct.py b/tests/float/array_construct.py index 938675835b..eb735c67c3 100644 --- a/tests/float/array_construct.py +++ b/tests/float/array_construct.py @@ -1,10 +1,13 @@ # test construction of array from array with float type try: - from array import array + from uarray import array except ImportError: - print("SKIP") - raise SystemExit + try: + from array import array + except ImportError: + print("SKIP") + raise SystemExit print(array('f', array('h', [1, 2]))) print(array('d', array('f', [1, 2]))) |