Skip to content

Commit 25f02d4

Browse files
committed
Add check arg explicitly to subprocess.run
1 parent 429fee5 commit 25f02d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/test/pytest/python_interface/inspection/test_mlir_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
xdsl = pytest.importorskip("xdsl")
2424
graphviz = pytest.importorskip("graphviz")
2525

26-
if run(["which", "dot"]).returncode != 0:
26+
if run(["which", "dot"], check=False).returncode != 0:
2727
pytest.skip(reason="Graphviz isn't installed.")
2828

2929

0 commit comments

Comments
 (0)