Kaydet (Commit) a3653095 authored tarafından Tim Peters's avatar Tim Peters

Add a test for the new // operator too.

üst 26c7fa35
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment