1
0
Fork 0
forked from github/pelican

Fix tests that were skipped in #1581

This commit is contained in:
Deniz Turgut 2015-02-17 20:18:12 -05:00
commit fa269d7c6f
3 changed files with 25 additions and 17 deletions

View file

@ -61,7 +61,7 @@ class TestPelican(LoggedTestCase):
def assertDirsEqual(self, left_path, right_path):
out, err = subprocess.Popen(
['git', 'diff', '--no-ext-diff', '--exit-code', '-w', left_path, right_path],
env={b'PAGER': b''}, stdout=subprocess.PIPE, stderr=subprocess.PIPE
env={str('PAGER'): str('')}, stdout=subprocess.PIPE, stderr=subprocess.PIPE
).communicate()
def ignorable_git_crlf_errors(line):
# Work around for running tests on Windows