diff options
author | John Wiegley <johnw@newartisans.com> | 2016-09-29 09:59:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-29 09:59:06 -0700 |
commit | cd58d43228996198b5ba329f7c05109f2aaee65a (patch) | |
tree | 62166e8ec93573e1a5b6312e721fb5c24bfc18fc /test/DocTests.py | |
parent | 258cab91ab702e82d477b41bb1c6a026c848bda5 (diff) | |
parent | 0e691e76dbd928b4aa919cbb9788c805e34937dc (diff) | |
download | ledger-cd58d43228996198b5ba329f7c05109f2aaee65a.tar.gz ledger-cd58d43228996198b5ba329f7c05109f2aaee65a.tar.bz2 ledger-cd58d43228996198b5ba329f7c05109f2aaee65a.zip |
Merge pull request #467 from schmave/win-2
Fix test harness to work with msys2
Diffstat (limited to 'test/DocTests.py')
-rwxr-xr-x | test/DocTests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/DocTests.py b/test/DocTests.py index 7af7abc3..52632a7b 100755 --- a/test/DocTests.py +++ b/test/DocTests.py @@ -192,6 +192,8 @@ class DocTests: error = None try: verify = subprocess.check_output(command, stderr=subprocess.STDOUT) + if sys.platform == 'win32': + verify = verify.replace('\r\n', '\n') valid = (output == verify) or (not error and validation) except subprocess.CalledProcessError, e: error = e.output |