Skip to content

Commit 49ba34e

Browse files
committed
Fix expected output message
1 parent 14cd177 commit 49ba34e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_import_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_dependencies_graph(dest):
7171
)
7272
def test_missing_graphviz(filename):
7373
"""Raises if graphviz is not installed, and defaults to png if no extension given"""
74-
with pytest.raises(RuntimeError, match=r"Cannot generate `graph\.png`.*"):
74+
with pytest.raises(RuntimeError, match=fr"Cannot generate `{filename}`.*"):
7575
imports._dependencies_graph(filename, {"a": ["b", "c"], "b": ["c"]})
7676

7777

0 commit comments

Comments
 (0)