From: Tim Peters Date: Thu, 23 Aug 2001 23:02:57 +0000 (+0000) Subject: Add a test for the new // operator too. X-Git-Tag: v2.2a3~353 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a3653095286b46bf4d9530240cfb8efa0788543e;p=thirdparty%2FPython%2Fcpython.git Add a test for the new // operator too. --- diff --git a/Lib/test/test_long.py b/Lib/test/test_long.py index 60adb74a626f..3b6081e7d531 100644 --- a/Lib/test/test_long.py +++ b/Lib/test/test_long.py @@ -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)