diff options
Diffstat (limited to 'tests/float/bytes_construct_endian.py')
-rw-r--r-- | tests/float/bytes_construct_endian.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/float/bytes_construct_endian.py b/tests/float/bytes_construct_endian.py index 4e15acc8b..4dbcf390e 100644 --- a/tests/float/bytes_construct_endian.py +++ b/tests/float/bytes_construct_endian.py @@ -1,12 +1,9 @@ # test construction of bytes from array with float type try: - from uarray import array + from array import array except ImportError: - try: - from array import array - except ImportError: - print("SKIP") - raise SystemExit + print("SKIP") + raise SystemExit print(bytes(array("f", [1, 2.5]))) |