summaryrefslogtreecommitdiff
path: root/test/DocTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/DocTests.py')
-rwxr-xr-xtest/DocTests.py2
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