Skip to content

Commit

Permalink
Fix expected output message
Browse files Browse the repository at this point in the history
  • Loading branch information
DudeNr33 committed Jun 27, 2021
1 parent 14cd177 commit 49ba34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_import_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_dependencies_graph(dest):
)
def test_missing_graphviz(filename):
"""Raises if graphviz is not installed, and defaults to png if no extension given"""
with pytest.raises(RuntimeError, match=r"Cannot generate `graph\.png`.*"):
with pytest.raises(RuntimeError, match=fr"Cannot generate `{filename}`.*"):
imports._dependencies_graph(filename, {"a": ["b", "c"], "b": ["c"]})


Expand Down

0 comments on commit 49ba34e

Please sign in to comment.