Skip to content

Commit c07fe37

Browse files
author
Jakub Mitoraj
committed
Update error message in assert pytest-dev#2
1 parent a823fb0 commit c07fe37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/test_junitxml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def test_fail():
480480
if junit_logging == "log":
481481
logdata = tnode.find_first_by_tag("log")
482482
log_xml = logdata.toxml()
483-
assert logdata.tag == "log", f"Expected tag: log"
483+
assert logdata.tag == "log", "Expected tag: log"
484484
assert (
485485
"info msg" not in log_xml
486486
), "Missing INFO message" # TODO where log capture lvl is stored?

0 commit comments

Comments
 (0)