1
0
Fork 0
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:
Deniz Turgut 2023-10-28 14:49:55 +03:00
commit b6a9a8333b
No known key found for this signature in database
GPG key ID: 87B7168D7AB3ED2F
2 changed files with 9 additions and 3 deletions

View file

@ -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,
)