File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ SPHINXOPTS =
66SPHINXBUILD = sphinx-build
77PAPER =
88BUILDDIR = build
9+ # add mkdir
910
1011# Internal variables.
1112PAPEROPT_a4 = -D latex_paper_size=a4
Original file line number Diff line number Diff line change @@ -80,11 +80,14 @@ def run_doctests(verbose=None):
8080 flint .types .acb_series ,
8181 flint .types .dirichlet ,
8282 flint .functions .showgood ]
83- if hasattr (flint .types , 'acb_theta' ):
84- modules .append (flint .types .acb_theta )
83+ try :
84+ from flint .types import acb_theta
85+ modules .append (acb_theta )
86+ except ImportError :
87+ pass
8588 results = [doctest .testmod (x ) for x in modules ]
8689# ffmpz, tfmpz = doctest.testmod(flint._fmpz, verbose=verbose)
87- # failed, total = doctest.testmod(flint.pyflint, verbose=verbose)
90+ # failed, total = doctest.testmod(flint.pyflint, verbose=verbose)
8891 return tuple (sum (res ) for res in zip (* results ))
8992
9093
You can’t perform that action at this time.
0 commit comments