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_binascii.py b/Lib/test/test_binascii.py
index f03fc55..cc78ee3 100755
--- a/Lib/test/test_binascii.py
+++ b/Lib/test/test_binascii.py
@@ -54,10 +54,10 @@
fillers = fillers + c
def addnoise(line):
noise = fillers
- ratio = len(line) / len(noise)
+ ratio = len(line) // len(noise)
res = ""
while line and noise:
- if len(line) / len(noise) > ratio:
+ if len(line) // len(noise) > ratio:
c, line = line[0], line[1:]
else:
c, noise = noise[0], noise[1:]