diff options
-rw-r--r-- | Lib/test/test_math.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py index 1f31dc5..1452035 100644 --- a/Lib/test/test_math.py +++ b/Lib/test/test_math.py @@ -181,3 +181,5 @@ try: x = math.sqrt(-1.0) except ValueError: pass +else: + raise TestFailed("sqrt(-1) didn't raise ValueError") |