We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97b096f commit 9b73fdaCopy full SHA for 9b73fda
src/flint/test/__main__.py
@@ -80,11 +80,14 @@ def run_doctests(verbose=None):
80
flint.types.acb_series,
81
flint.types.dirichlet,
82
flint.functions.showgood]
83
- if hasattr(flint.types, 'acb_theta'):
84
- modules.append(flint.types.acb_theta)
+ try:
+ from flint.types import acb_theta
85
+ modules.append(acb_theta)
86
+ except ImportError:
87
+ pass
88
results = [doctest.testmod(x) for x in modules]
89
# ffmpz, tfmpz = doctest.testmod(flint._fmpz, verbose=verbose)
- # failed, total = doctest.testmod(flint.pyflint, verbose=verbose)
90
+# failed, total = doctest.testmod(flint.pyflint, verbose=verbose)
91
return tuple(sum(res) for res in zip(*results))
92
93
0 commit comments