Skip to content

Commit

Permalink
Merge branch 'master' into dask-env
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmeek authored Aug 9, 2019
2 parents 5ca17af + 383c475 commit 03508ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/prefect/core/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ def visualize(
except ImportError:
msg = (
"This feature requires graphviz.\n"
"Try re-installing prefect with `pip install prefect[viz]`"
"Try re-installing prefect with `pip install 'prefect[viz]'`"
)
raise ImportError(msg)

Expand Down
2 changes: 1 addition & 1 deletion tests/core/test_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ def test_visualize_raises_informative_importerror_without_graphviz(

with monkeypatch.context() as m:
m.setattr(sys, "path", "")
with pytest.raises(ImportError, match="pip install prefect\[viz\]"):
with pytest.raises(ImportError, match="pip install 'prefect\[viz\]'"):
f.visualize()

def test_viz_returns_graph_object_if_in_ipython(self):
Expand Down

0 comments on commit 03508ae

Please sign in to comment.