File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -2049,7 +2049,7 @@ def run_server(
2049
2049
dev_tools_prune_errors = None ,
2050
2050
** flask_run_options ,
2051
2051
):
2052
- """`run_server` is a deprecated alias of `run` and may be
2052
+ """`run_server` is a deprecated alias of `run` and may be
2053
2053
removed in Dash 3.0. We recommend using `app.run` instead.
2054
2054
See app.run for the docstring for these arguments.
2055
2055
"""
Original file line number Diff line number Diff line change @@ -355,9 +355,7 @@ def test_proxy_failure(mocker, empty_environ):
355
355
assert "you must use host: 0.0.0.0" in excinfo .exconly ()
356
356
357
357
with pytest .raises (_exc .ProxyError ) as excinfo :
358
- app .run (
359
- proxy = "http://0.0.0.0:8155::http://plot.ly" , host = "0.0.0.0" , port = 8055
360
- )
358
+ app .run (proxy = "http://0.0.0.0:8155::http://plot.ly" , host = "0.0.0.0" , port = 8055 )
361
359
assert "port: 8055 is incompatible with the proxy" in excinfo .exconly ()
362
360
assert "you must use port: 8155" in excinfo .exconly ()
363
361
You can’t perform that action at this time.
0 commit comments