summaryrefslogtreecommitdiff
path: root/tests/basics/bytes_add_endian.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/bytes_add_endian.py')
-rw-r--r--tests/basics/bytes_add_endian.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/basics/bytes_add_endian.py b/tests/basics/bytes_add_endian.py
index 5471280d9..1bbd0f2c3 100644
--- a/tests/basics/bytes_add_endian.py
+++ b/tests/basics/bytes_add_endian.py
@@ -1,5 +1,9 @@
# test bytes + other
-
-import array
+try:
+ import array
+except ImportError:
+ import sys
+ print("SKIP")
+ sys.exit()
print(b"123" + array.array('i', [1]))