tests/float: Convert "sys.exit()" to "raise SystemExit".
The latter is shorter and simpler because it doesn't require importing the sys module.
This commit is contained in:
@@ -5,9 +5,8 @@ try:
|
||||
except:
|
||||
import struct
|
||||
except ImportError:
|
||||
import sys
|
||||
print("SKIP")
|
||||
sys.exit()
|
||||
raise SystemExit
|
||||
|
||||
i = 1. + 1/2
|
||||
# TODO: it looks like '=' format modifier is not yet supported
|
||||
|
||||
Reference in New Issue
Block a user