mirror of https://github.com/python/cpython
Add a test for the new // operator too.
This commit is contained in:
parent
26c7fa355a
commit
a365309528
|
@ -300,6 +300,10 @@ def test_auto_overflow():
|
|||
got = x / y
|
||||
checkit(x, '/', y)
|
||||
|
||||
expected = longx // longy
|
||||
got = x // y
|
||||
checkit(x, '//', y)
|
||||
|
||||
expected = divmod(longx, longy)
|
||||
got = divmod(longx, longy)
|
||||
checkit(x, 'divmod', y)
|
||||
|
|
Loading…
Reference in New Issue