@@ -62,8 +62,6 @@ parser.add_argument("-t", "--timeout", type=int, default=default_timeout,
62
62
help = "how long can an example run (in seconds)" )
63
63
parser .add_argument ("-v" , "--verbose" , action = "store_true" , default = False ,
64
64
help = "show console messages" )
65
- parser .add_argument ("-D" , "--no-dev" , dest = "dev" , action = "store_false" , default = True ,
66
- help = "don't use development JavaScript and CSS files" )
67
65
parser .add_argument ("-all-n" , "--all-notebooks" , action = "store_true" , default = False ,
68
66
help = "test all the notebooks inside examples/plotting/notebook folder." )
69
67
parser .add_argument ("-o" , "--output-cells" , type = str , choices = ['complain' , 'remove' , 'ignore' ], default = 'complain' ,
@@ -111,21 +109,13 @@ def ok(msg=None):
111
109
msg = " " + msg if msg is not None else ""
112
110
write ("%s%s" % (green ("[OK]" ), msg ))
113
111
114
- DEFAULT_NO_DEV = os .environ .get ('BOKEH_DEFAULT_NO_DEV' , 'false' )
115
- if DEFAULT_NO_DEV .lower () in ["true" , "yes" , "on" , "1" ]:
116
- args .dev = False
117
- elif DEFAULT_NO_DEV .lower () not in ["false" , "no" , "off" , "0" ]:
118
- write ("unexpected value for BOKEH_DEFAULT_NO_DEV environmental variable, %s" % DEFAULT_NO_DEV )
119
- sys .exit (1 )
120
-
121
112
write ("%s Using configuration:" % green (">>>" ))
122
113
write ("%s patterns = %s" % (green ("---" ), args .patterns ))
123
114
write ("%s bokeh-port = %s" % (green ("---" ), args .bokeh_port ))
124
115
write ("%s ipython-port = %s" % (green ("---" ), args .ipython_port ))
125
116
write ("%s phantomjs = %s" % (green ("---" ), args .phantomjs ))
126
117
write ("%s timeout = %s" % (green ("---" ), args .timeout ))
127
118
write ("%s verbose = %s" % (green ("---" ), args .verbose ))
128
- write ("%s dev = %s" % (green ("---" ), args .dev ))
129
119
write ("%s all-notebooks = %s" % (green ("---" ), args .all_notebooks ))
130
120
write ("%s output-cells = %s" % (green ("---" ), args .output_cells ))
131
121
write ("%s log-file = %s" % (green ("---" ), args .log_file .name ))
@@ -281,9 +271,6 @@ def make_env():
281
271
env = os .environ .copy ()
282
272
env ['BOKEH_RESOURCES' ] = 'relative'
283
273
env ['BOKEH_BROWSER' ] = 'none'
284
- if args .dev :
285
- env ['BOKEH_RESOURCES' ] += '-dev'
286
- env ['BOKEH_PRETTY' ] = 'yes'
287
274
return env
288
275
289
276
class Timeout (Exception ):
@@ -461,9 +448,6 @@ def start_bokeh_server():
461
448
cmd = ["python" , "-c" , "import bokeh.server; bokeh.server.run()" ]
462
449
argv = ["--bokeh-port=%s" % args .bokeh_port , "--backend=memory" ]
463
450
464
- if args .dev :
465
- argv .extend (["--splitjs" , "--debugjs" , "--filter-logs" ])
466
-
467
451
try :
468
452
proc = subprocess .Popen (cmd + argv , stdout = args .log_file , stderr = args .log_file )
469
453
except OSError :
0 commit comments