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 3030import mathics
3131from mathics import __version__ , settings , version_string
3232from mathics .core .definitions import Definitions
33+ from mathics .core .load_builtin import import_and_load_builtins
3334from mathics .doc .latex_doc import LaTeXMathicsDocumentation
3435from mathics .eval .pymathics import PyMathicsLoadException , eval_LoadModule
3536
@@ -172,15 +173,17 @@ def main():
172173 dest = "chapters" ,
173174 metavar = "CHAPTER" ,
174175 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." ,
176178 )
177179 parser .add_argument (
178180 "--sections" ,
179181 "-s" ,
180182 dest = "sections" ,
181183 metavar = "SECTION" ,
182184 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." ,
184187 )
185188 parser .add_argument (
186189 "--load-module" ,
@@ -210,6 +213,9 @@ def main():
210213
211214 # LoadModule Mathics3 modules to pull in modules, and
212215 # their docstrings
216+
217+ import_and_load_builtins ()
218+
213219 if args .pymathics :
214220 definitions = Definitions (add_builtin = True )
215221 for module_name in args .pymathics .split ("," ):
You can’t perform that action at this time.
0 commit comments