tests/basics: Convert "sys.exit()" to "raise SystemExit".

This commit is contained in:
Paul Sokolovsky
2017-06-10 20:03:01 +03:00
parent 0161939ed1
commit a2803b74f4
69 changed files with 69 additions and 137 deletions

View File

@@ -1,9 +1,8 @@
try:
import array
except ImportError:
import sys
print("SKIP")
sys.exit()
raise SystemExit
a = array.array('B', [1, 2, 3])
print(a, len(a))