forked from github/pelican
skip tests that require git if git is not installed
and minor tweaks to subprocess handling
This commit is contained in:
parent
b10c7c699b
commit
b6a9a8333b
2 changed files with 9 additions and 3 deletions
|
|
@ -231,7 +231,8 @@ def diff_subproc(first, second):
|
|||
['git', '--no-pager', 'diff', '--no-ext-diff', '--exit-code',
|
||||
'-w', first, second],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE
|
||||
stderr=subprocess.PIPE,
|
||||
text=True,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue