diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-08-23 23:02:57 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-08-23 23:02:57 (GMT) |
commit | a3653095286b46bf4d9530240cfb8efa0788543e (patch) | |
tree | d937da11805a0ed7705985c9cff44772e709bc0e /Lib/test/test_long.py | |
parent | 26c7fa355a129778d21a8cf973f852dd592b792b (diff) | |
download | cpython-a3653095286b46bf4d9530240cfb8efa0788543e.zip cpython-a3653095286b46bf4d9530240cfb8efa0788543e.tar.gz cpython-a3653095286b46bf4d9530240cfb8efa0788543e.tar.bz2 |
Add a test for the new // operator too.
Diffstat (limited to 'Lib/test/test_long.py')
-rw-r--r-- | Lib/test/test_long.py | 4 |
1 files changed, 4 insertions, 0 deletions
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) |