mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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).
This commit is contained in:
parent
1ef106c94d
commit
0dad0f763c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue