diff --git a/tests/float/float1.py b/tests/float/float1.py index 27fe26205b..f21f5bcdd3 100644 --- a/tests/float/float1.py +++ b/tests/float/float1.py @@ -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: