summaryrefslogtreecommitdiff
path: root/Lib/test/test_operator.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-09-04 19:14:14 +0000
committerGuido van Rossum <guido@python.org>2001-09-04 19:14:14 +0000
commit54e54c6877329e105406c48490f218faff59db39 (patch)
tree6bbdf1f6efaa2253af424f59dc9564a5458d6739 /Lib/test/test_operator.py
parentb8f22749853cf79bfbe3709309e67d1a448f4cab (diff)
downloadcpython-git-54e54c6877329e105406c48490f218faff59db39.tar.gz
The first batch of changes recommended by the fixdiv tool. These are
mostly changes of / operators into //. Once or twice I did more or less than recommended.
Diffstat (limited to 'Lib/test/test_operator.py')
-rw-r--r--Lib/test/test_operator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_operator.py b/Lib/test/test_operator.py
index 939c9959d5..6312d9a295 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)