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:
Damien George
2017-06-08 14:00:57 +10:00
parent d80c951f71
commit fde54350a8
13 changed files with 13 additions and 26 deletions

View File

@@ -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