Skip to content

Commit 06d2435

Browse files
leave the repr until we need it
1 parent f7f713e commit 06d2435

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/recwarn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,6 @@ def found_str():
291291
fail(
292292
f"""\
293293
DID NOT WARN. No warnings of type {self.expected_warning} matching the regex were emitted.
294-
The regex is: {self.match_expr!r}
294+
The regex is: {self.match_expr}
295295
The list of emitted warnings is: {found_str()}"""
296296
)

0 commit comments

Comments
 (0)