From a3653095286b46bf4d9530240cfb8efa0788543e Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Thu, 23 Aug 2001 23:02:57 +0000 Subject: Add a test for the new // operator too. --- Lib/test/test_long.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/test/test_long.py b/Lib/test/test_long.py index 60adb74..3b6081e 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) -- cgit v0.12