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.
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 @@
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)