summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorholger krekel <holger@merlinux.eu>2011-07-07 23:32:58 +0200
committerholger krekel <holger@merlinux.eu>2011-07-07 23:32:58 +0200
commitbf508ef2f19195c8cfdac05539d25d2dc381284e (patch)
treeea9952280409fddcb0c71e78a2f536cbe148ab96
parent71615e0b962ebc6773faf696d1a24d287ab81613 (diff)
downloadtox-git-bf508ef2f19195c8cfdac05539d25d2dc381284e.tar.gz
relax fnmatch check, should fix a bug on windows
-rw-r--r--tests/conftest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index db201b72..a7d738c9 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -63,6 +63,7 @@ class ReportExpectMock:
newindex = self._index + 1
while newindex < len(self._calls):
lcat, lmsg = self._calls[newindex]
+ lmsg = lmsg.replace("\n", " ")
if lcat == cat and fnmatch(lmsg, messagepattern):
self._index = newindex
return