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

@@ -2,8 +2,7 @@ try:
str.partition
except AttributeError:
print("SKIP")
import sys
sys.exit()
raise SystemExit
print("asdf".partition('g'))
print("asdf".partition('a'))