Commits

wooparadog  committed 851daff

Also replace `report.longrepr` with `bin_xml_escape`ed skipreason

  • Participants
  • Parent commits 229f321

Comments (0)

Files changed (1)

File _pytest/junitxml.py

             filename, lineno, skipreason = report.longrepr
             if skipreason.startswith("Skipped: "):
                 skipreason = bin_xml_escape(skipreason[9:])
+                report.longrepr = filename, lineno, skipreason
             self.append(
                 Junit.skipped("%s:%s: %s" % report.longrepr,
                               type="pytest.skip",