diff options
Diffstat (limited to 'Lib/test/test_operator.py')
-rw-r--r-- | Lib/test/test_operator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_operator.py b/Lib/test/test_operator.py index 939c995..6312d9a 100644 --- a/Lib/test/test_operator.py +++ b/Lib/test/test_operator.py @@ -82,7 +82,7 @@ class OperatorTestCase(unittest.TestCase): self.assert_(a == [0, 1, 8, 9]) def test_div(self): - self.failUnless(operator.div(5, 2) == 2) + self.failUnless(operator.floordiv(5, 2) == 2) def test_floordiv(self): self.failUnless(operator.floordiv(5, 2) == 2) |