tests/float: Add test for parsing a float from an empty string.

crypto-aes
Damien George 6 years ago
parent 4fb72fe624
commit 290daa15d9

@ -22,6 +22,10 @@ print(float("infinity"))
print(float("INFINITY"))
print(float("nan"))
print(float("NaN"))
try:
float("")
except ValueError:
print("ValueError")
try:
float("1e+")
except ValueError:

Loading…
Cancel
Save