]> granicus.if.org Git - python/commitdiff
Fix typo in error reporting. This doesn't need to go into the release
authorTim Peters <tim.peters@gmail.com>
Fri, 7 Sep 2001 00:47:00 +0000 (00:47 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 7 Sep 2001 00:47:00 +0000 (00:47 +0000)
branch (if it ever gets to the typo, the test is failing anyway).

Lib/test/test_long_future.py

index 03d09fca5366facb1bbe1fb03fc62989ec691e98..cb0ac58b08e3119930c90e6b2a5bcecba8a423d6 100644 (file)
@@ -41,7 +41,7 @@ def test_true_division():
                      "100 / mhuge", "100L / mhuge"]:
         result = eval(underflow, namespace)
         if result != 0.0:
-            raise TestFailed("expected undeflow to 0 from %r" % undeflow)
+            raise TestFailed("expected underflow to 0 from %r" % underflow)
 
     for zero in ["huge / 0", "huge / 0L",
                  "mhuge / 0", "mhuge / 0L"]: