summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_math.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py
index 6c07c88..d6f14b2 100644
--- a/Lib/test/test_math.py
+++ b/Lib/test/test_math.py
@@ -923,13 +923,6 @@ class MathTests(unittest.TestCase):
self.assertRaises(TypeError, math.trunc, 1, 2)
self.assertRaises(TypeError, math.trunc, TestNoTrunc())
- # XXX Doesn't work because the method is looked up on
- # the type only.
- #t = TestNoTrunc()
- #t.__trunc__ = lambda *args: args
- #self.assertEquals((), math.trunc(t))
- #self.assertRaises(TypeError, math.trunc, t, 0)
-
def testIsnan(self):
self.assertTrue(math.isnan(float("nan")))
self.assertTrue(math.isnan(float("inf")* 0.))