Skip to content

Commit 7bdb93c

Browse files
committed
subp.check_call was failing, now logging it with check_output
1 parent 03e179e commit 7bdb93c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

hdl_checker/tests/test_parser_utils.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,12 @@ def setUp(self):
584584
["git", "commit", "-m", "'initial'"],
585585
):
586586
_logger.debug("$ %s", cmd)
587-
subp.check_call(cmd, cwd=self.base_path, stdout=subp.PIPE)
587+
for line in (
588+
subp.check_output(cmd, cwd=self.base_path)
589+
.decode(errors="replace")
590+
.splitlines()
591+
):
592+
_logger.debug(" %s", line)
588593

589594
_logger.debug(
590595
"Status:\n%s",

0 commit comments

Comments
 (0)