summaryrefslogtreecommitdiff
path: root/Lib/test/test_complex.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-08-21 17:06:07 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-08-21 17:06:07 +0000
commit346656f15566ff64789dd65f3cec0e650296c9a3 (patch)
treec31210f77ee85e3cb81506dc3968b3c38ee242c4 /Lib/test/test_complex.py
parent81b6f83fc49d1603d60a8b849c018d9adca595b8 (diff)
downloadcpython-346656f15566ff64789dd65f3cec0e650296c9a3.tar.gz
Get rid of most of the rest of coerce (slot is still there for now).
Diffstat (limited to 'Lib/test/test_complex.py')
-rw-r--r--Lib/test/test_complex.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/test/test_complex.py b/Lib/test/test_complex.py
index 035f52403c..4aa799d41f 100644
--- a/Lib/test/test_complex.py
+++ b/Lib/test/test_complex.py
@@ -92,9 +92,6 @@ class ComplexTest(unittest.TestCase):
self.assertAlmostEqual(complex.__floordiv__(3+0j, 1.5+0j), 2)
self.assertRaises(ZeroDivisionError, complex.__floordiv__, 3+0j, 0+0j)
- def test_coerce(self):
- self.assertRaises(OverflowError, complex.__coerce__, 1+1j, 1L<<10000)
-
def test_richcompare(self):
self.assertRaises(OverflowError, complex.__eq__, 1+1j, 1L<<10000)
self.assertEqual(complex.__lt__(1+1j, None), NotImplemented)