File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ SPHINXOPTS =
6
6
SPHINXBUILD = sphinx-build
7
7
PAPER =
8
8
BUILDDIR = build
9
+ # add mkdir
9
10
10
11
# Internal variables.
11
12
PAPEROPT_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):
80
80
flint .types .acb_series ,
81
81
flint .types .dirichlet ,
82
82
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
85
88
results = [doctest .testmod (x ) for x in modules ]
86
89
# 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)
88
91
return tuple (sum (res ) for res in zip (* results ))
89
92
90
93
You can’t perform that action at this time.
0 commit comments