Author: stian
Branch: math-improvements
Changeset: r92971:b9cf8efa4db1
Date: 2017-11-08 04:01 +0100
http://bitbucket.org/pypy/pypy/changeset/b9cf8efa4db1/

Log:    Kill test for removed function

diff --git a/rpython/rlib/test/test_rbigint.py 
b/rpython/rlib/test/test_rbigint.py
--- a/rpython/rlib/test/test_rbigint.py
+++ b/rpython/rlib/test/test_rbigint.py
@@ -616,7 +616,7 @@
                     assert res3 == -num << z
                     assert res4 == -num >> z
                     
-        # Large digit
+        # Large digit, also invertion test.
         for x in range((1 << SHIFT) - 10, (1 << SHIFT) + 10):
             f1 = rbigint.fromlong(x)
             nf1 = rbigint.fromlong(-x)
@@ -871,14 +871,6 @@
         ret = lobj._k_mul(f1, f2)
         assert ret.tolong() == f1.tolong() * f2.tolong()
 
-    def test__k_lopsided_mul(self):
-        digs_a = KARATSUBA_CUTOFF + 3
-        digs_b = 3 * digs_a
-        f1 = bigint([lobj.MASK] * digs_a, 1)
-        f2 = bigint([lobj.MASK] * digs_b, 1)
-        ret = lobj._k_lopsided_mul(f1, f2)
-        assert ret.tolong() == f1.tolong() * f2.tolong()
-
     def test_longlong(self):
         max = 1L << (r_longlong.BITS-1)
         f1 = rbigint.fromlong(max-1)    # fits in r_longlong
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to