summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/bytes_construct.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/bytes_construct.py')
-rw-r--r--tests/float/bytes_construct.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/float/bytes_construct.py b/tests/float/bytes_construct.py
index 8664d7296d..0e4482e436 100644
--- a/tests/float/bytes_construct.py
+++ b/tests/float/bytes_construct.py
@@ -3,8 +3,7 @@
try:
from array import array
except ImportError:
- import sys
print("SKIP")
- sys.exit()
+ raise SystemExit
print(bytes(array('f', [1, 2.3])))