Skip to content

Commit 71ffe1c

Browse files
committed
style
1 parent 25e5396 commit 71ffe1c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

_unittests/ut_xrun_doc/test_command_lines_exe.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ def forward(self, x):
199199
with redirect_stdout(st):
200200
main(args)
201201
text = st.getvalue()
202-
self.assertIn("svg", text)
202+
if text:
203+
# text is empty is dot is not installed
204+
self.assertIn("svg", text)
203205

204206

205207
if __name__ == "__main__":

0 commit comments

Comments
 (0)