]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove __floordiv__ test, as it's deprecated.
authorWalter Dörwald <walter@livinglogic.de>
Tue, 5 Aug 2003 16:12:09 +0000 (16:12 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Tue, 5 Aug 2003 16:12:09 +0000 (16:12 +0000)
Lib/test/test_complex.py

index 478bd1038e0c7b372e0917d583dcdfb86e2ce922..20ae1deeb7ab0dd68e4436c54974f6afa0521e3a 100644 (file)
@@ -59,8 +59,6 @@ class ComplexTest(unittest.TestCase):
             self.assertClose(q, y)
             q = z.__truediv__(x)
             self.assertClose(q, y)
-            q2 = z.__floordiv__(x)
-            self.assertClose(q2, math.floor(q.real)+0j)
         if y != 0:
             q = z / y
             self.assertClose(q, x)
@@ -68,8 +66,6 @@ class ComplexTest(unittest.TestCase):
             self.assertClose(q, x)
             q = z.__truediv__(y)
             self.assertClose(q, x)
-            q2 = z.__floordiv__(y)
-            self.assertClose(q2, math.floor(q.real)+0j)
 
     def test_div(self):
         simple_real = [float(i) for i in xrange(-5, 6)]