File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 30
30
import mathics
31
31
from mathics import __version__ , settings , version_string
32
32
from mathics .core .definitions import Definitions
33
+ from mathics .core .load_builtin import import_and_load_builtins
33
34
from mathics .doc .latex_doc import LaTeXMathicsDocumentation
34
35
from mathics .eval .pymathics import PyMathicsLoadException , eval_LoadModule
35
36
@@ -172,15 +173,17 @@ def main():
172
173
dest = "chapters" ,
173
174
metavar = "CHAPTER" ,
174
175
help = "only test CHAPTER(s). "
175
- "You can list multiple chapters by adding a comma (and no space) in between chapter names." ,
176
+ "You can list multiple chapters by adding a comma (and no space) in between "
177
+ "chapter names." ,
176
178
)
177
179
parser .add_argument (
178
180
"--sections" ,
179
181
"-s" ,
180
182
dest = "sections" ,
181
183
metavar = "SECTION" ,
182
184
help = "only test SECTION(s). "
183
- "You can list multiple chapters by adding a comma (and no space) in between chapter names." ,
185
+ "You can list multiple chapters by adding a comma (and no space) in between "
186
+ "chapter names." ,
184
187
)
185
188
parser .add_argument (
186
189
"--load-module" ,
@@ -210,6 +213,9 @@ def main():
210
213
211
214
# LoadModule Mathics3 modules to pull in modules, and
212
215
# their docstrings
216
+
217
+ import_and_load_builtins ()
218
+
213
219
if args .pymathics :
214
220
definitions = Definitions (add_builtin = True )
215
221
for module_name in args .pymathics .split ("," ):
You can’t perform that action at this time.
0 commit comments