Skip to content

Commit 92efdcc

Browse files
committed
earlier return
1 parent 0465511 commit 92efdcc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/flint/test/test_all.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1642,12 +1642,14 @@ def test_fmpz_mod():
16421642
p_med = 2**127 - 1
16431643
p_big = 2**255 - 19
16441644

1645+
return
1646+
16451647
F_cmp = fmpz_mod_ctx(10)
16461648
F_sml = fmpz_mod_ctx(p_sml)
16471649
F_med = fmpz_mod_ctx(p_med)
16481650
F_big = fmpz_mod_ctx(p_big)
16491651

1650-
return
1652+
# XXX: crashes by here
16511653

16521654
assert F_sml.is_prime() is True
16531655
assert F_med.is_prime() is True
@@ -1675,8 +1677,6 @@ def test_fmpz_mod():
16751677
# Type tests
16761678
assert raises(lambda: fmpz_mod(1, "AAA"), TypeError)
16771679

1678-
# XXX: crashes by here
1679-
16801680
# Test for small, medium and large char.
16811681
for F_test in [F_sml, F_med, F_big]:
16821682
test_mod = int(F_test.modulus())

0 commit comments

Comments
 (0)