summaryrefslogtreecommitdiff
path: root/src/tox/pytest.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tox/pytest.py')
-rw-r--r--src/tox/pytest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tox/pytest.py b/src/tox/pytest.py
index a5bdd508..f3c89b9e 100644
--- a/src/tox/pytest.py
+++ b/src/tox/pytest.py
@@ -335,13 +335,13 @@ class ToxRunOutcome:
if dedent:
out = textwrap.dedent(out).lstrip()
if regex:
- self.matches(out, self.out, re.MULTILINE)
+ self.matches(out, self.out, re.MULTILINE | re.DOTALL)
else:
assert self.out == out
if dedent:
err = textwrap.dedent(err).lstrip()
if regex:
- self.matches(err, self.err, re.MULTILINE)
+ self.matches(err, self.err, re.MULTILINE | re.DOTALL)
else:
assert self.err == err