We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0465511 commit 92efdccCopy full SHA for 92efdcc
src/flint/test/test_all.py
@@ -1642,12 +1642,14 @@ def test_fmpz_mod():
1642
p_med = 2**127 - 1
1643
p_big = 2**255 - 19
1644
1645
+ return
1646
+
1647
F_cmp = fmpz_mod_ctx(10)
1648
F_sml = fmpz_mod_ctx(p_sml)
1649
F_med = fmpz_mod_ctx(p_med)
1650
F_big = fmpz_mod_ctx(p_big)
1651
- return
1652
+ # XXX: crashes by here
1653
1654
assert F_sml.is_prime() is True
1655
assert F_med.is_prime() is True
@@ -1675,8 +1677,6 @@ def test_fmpz_mod():
1675
1677
# Type tests
1676
1678
assert raises(lambda: fmpz_mod(1, "AAA"), TypeError)
1679
- # XXX: crashes by here
-
1680
# Test for small, medium and large char.
1681
for F_test in [F_sml, F_med, F_big]:
1682
test_mod = int(F_test.modulus())
0 commit comments