Add a test for the new // operator too.

This commit is contained in:
Tim Peters 2001-08-23 23:02:57 +00:00
parent 26c7fa355a
commit a365309528
1 changed files with 4 additions and 0 deletions

View File

@ -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)