summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-09-04 19:48:01 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-09-04 19:48:01 (GMT)
commit0dad0f763cfad1d387db91053f50f289732e0011 (patch)
tree7bd8d03d88b01d6987053081594ecbd6cae62fd6 /Lib
parent1ef106c94d7ec70f6f4ca756fa47852404556b6d (diff)
downloadcpython-0dad0f763cfad1d387db91053f50f289732e0011.zip
cpython-0dad0f763cfad1d387db91053f50f289732e0011.tar.gz
cpython-0dad0f763cfad1d387db91053f50f289732e0011.tar.bz2
Revert one of the "division fixes" in test_long. It intends to try both
"/" and "//", and doesn't really care what they *mean*, just that both are tried (and that, whatever they mean, they act similarly for int and long arguments).
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_long.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_long.py b/Lib/test/test_long.py
index 01d567a..104b086 100644
--- a/Lib/test/test_long.py
+++ b/Lib/test/test_long.py
@@ -296,8 +296,8 @@ def test_auto_overflow():
checkit(x, '*', y)
if y:
- expected = longx // longy
- got = x // y
+ expected = longx / longy
+ got = x / y
checkit(x, '/', y)
expected = longx // longy