summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_augassign.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-09-04 19:14:14 (GMT)
committerGuido van Rossum <guido@python.org>2001-09-04 19:14:14 (GMT)
commit54e54c6877329e105406c48490f218faff59db39 (patch)
tree6bbdf1f6efaa2253af424f59dc9564a5458d6739 /Lib/test/test_augassign.py
parentb8f22749853cf79bfbe3709309e67d1a448f4cab (diff)
downloadcpython-54e54c6877329e105406c48490f218faff59db39.zip
cpython-54e54c6877329e105406c48490f218faff59db39.tar.gz
cpython-54e54c6877329e105406c48490f218faff59db39.tar.bz2
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_augassign.py')
-rw-r--r--Lib/test/test_augassign.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_augassign.py b/Lib/test/test_augassign.py
index e9e5b23..c372b9a 100644
--- a/Lib/test/test_augassign.py
+++ b/Lib/test/test_augassign.py
@@ -5,7 +5,7 @@ x += 1
x *= 2
x **= 2
x -= 8
-x /= 2
+x //= 2
x //= 1
x %= 12
x &= 2
@@ -19,7 +19,7 @@ x[0] += 1
x[0] *= 2
x[0] **= 2
x[0] -= 8
-x[0] /= 2
+x[0] //= 2
x[0] //= 2
x[0] %= 12
x[0] &= 2
@@ -33,7 +33,7 @@ x[0] += 1
x[0] *= 2
x[0] **= 2
x[0] -= 8
-x[0] /= 2
+x[0] //= 2
x[0] //= 1
x[0] %= 12
x[0] &= 2