projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ef106c
)
Revert one of the "division fixes" in test_long. It intends to try both
author
Tim Peters
<tim.peters@gmail.com>
Tue, 4 Sep 2001 19:48:01 +0000
(19:48 +0000)
committer
Tim Peters
<tim.peters@gmail.com>
Tue, 4 Sep 2001 19:48:01 +0000
(19:48 +0000)
"/" 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).
Lib/test/test_long.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_long.py
b/Lib/test/test_long.py
index 01d567a4ccb0381f749ceeff256a694e635a067d..104b08658587b98ff7b7330e8355704627c01b24 100644
(file)
--- 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