summaryrefslogtreecommitdiff
path: root/tests/basics/bytes_add_endian.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-03-09 00:07:19 +0100
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-03-09 00:07:19 +0100
commit983144404b6526c22e5c4224807ea4214e11e248 (patch)
tree9e574044f0a16eba13b20110eb73c4537a07a868 /tests/basics/bytes_add_endian.py
parent52b6764894755324db036731ae1d6ec77172419a (diff)
tests/basic: Make various tests skippable.
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]))