tests/basics: Convert "sys.exit()" to "raise SystemExit".
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user