We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fb72fe commit 290daa1Copy full SHA for 290daa1
1 file changed
tests/float/float1.py
@@ -22,6 +22,10 @@
22
print(float("INFINITY"))
23
print(float("nan"))
24
print(float("NaN"))
25
+try:
26
+ float("")
27
+except ValueError:
28
+ print("ValueError")
29
try:
30
float("1e+")
31
except ValueError:
0 commit comments