]> granicus.if.org Git - python/commitdiff
A Mystery: I somehow managed to delete the last two lines of my test_math.py
authorTim Peters <tim.peters@gmail.com>
Thu, 12 Oct 2000 07:15:55 +0000 (07:15 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 12 Oct 2000 07:15:55 +0000 (07:15 +0000)
changes.  Here restoring them.

Lib/test/test_math.py

index 1f31dc5794f58cc2fc39cb00c6e62ad7afe10770..1452035bc5e0caa97094409d19e4c1f1de357065 100644 (file)
@@ -181,3 +181,5 @@ try:
     x = math.sqrt(-1.0)
 except ValueError:
     pass
+else:
+    raise TestFailed("sqrt(-1) didn't raise ValueError")