Skip to content

Commit e57165f

Browse files
committed
test fq_default
1 parent 4230bb0 commit e57165f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/flint/test/test_all.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1872,7 +1872,7 @@ def test_fmpz_mod_dlog():
18721872
F = fmpz_mod_ctx(p)
18731873

18741874
for _ in range(10):
1875-
g = F(random.randint(1,p))
1875+
g = F(random.randint(1,p-1))
18761876
for _ in range(10):
18771877
i = random.randint(0,p)
18781878
a = g**i
@@ -4276,7 +4276,7 @@ def test_matrices_transpose():
42764276
assert M1234.transpose() == M([[1, 4], [2, 5], [3, 6]])
42774277

42784278

4279-
def _test_fq_default():
4279+
def test_fq_default():
42804280
# test fq_default context creation
42814281

42824282
# fq_type parsing
@@ -4729,7 +4729,7 @@ def test_all_tests():
47294729
test_matrices_solve,
47304730
test_matrices_fflu,
47314731

4732-
# _test_fq_default,
4732+
test_fq_default,
47334733
# _test_fq_default_poly,
47344734

47354735
test_arb,

src/flint/test/test_docstrings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515

1616
def find_doctests(module):
17-
return []
1817
finder = doctest.DocTestFinder()
1918
tests = []
2019
for module_info in pkgutil.walk_packages(module.__path__, flint.__name__ + "."):

0 commit comments

Comments
 (0)