File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 8686 pyodide = None # noqa
8787
8888
89- from test .helper import session
89+ from test .helper import check_evaluation , session
9090
9191from mathics .builtin .drawing import plot
9292from mathics .core .expression import Expression
110110UPDATE_MODE = False
111111
112112session .evaluate ('LoadModule["pymathics.vectorizedplot"]' )
113- # check_evaluation("?? ContourPlot3D", "aass", "module not loaded")
113+ check_evaluation (
114+ "StringTake[ToString[?? ContourPlot3D],17]" ,
115+ '"\n ContourPlot3D["' ,
116+ "module not loaded" ,
117+ )
114118
115119
116120def copy_file (dst_fn , src_fn ):
@@ -381,8 +385,6 @@ def do_test_all(fns, names=None):
381385 one_test (** parms )
382386
383387
384-
385-
386388if __name__ == "__main__" :
387389 import argparse
388390
@@ -392,7 +394,7 @@ def do_test_all(fns, names=None):
392394 args = parser .parse_args ()
393395 UPDATE_MODE = args .update
394396 session .evaluate ('LoadModule["pymathics.vectorizedplot"]' )
395-
397+
396398 try :
397399 if args .files :
398400 for fn in args .files :
You can’t perform that action at this time.
0 commit comments