]> granicus.if.org Git - python/commitdiff
Revert one of the "division fixes" in test_long. It intends to try both
authorTim Peters <tim.peters@gmail.com>
Tue, 4 Sep 2001 19:48:01 +0000 (19:48 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 4 Sep 2001 19:48:01 +0000 (19:48 +0000)
"/" and "//", and doesn't really care what they *mean*, just that both
are tried (and that, whatever they mean, they act similarly for int and
long arguments).

Lib/test/test_long.py

index 01d567a4ccb0381f749ceeff256a694e635a067d..104b08658587b98ff7b7330e8355704627c01b24 100644 (file)
@@ -296,8 +296,8 @@ def test_auto_overflow():
             checkit(x, '*', y)
 
             if y:
-                expected = longx // longy
-                got = x // y
+                expected = longx / longy
+                got = x / y
                 checkit(x, '/', y)
 
                 expected = longx // longy