Skip to content

Commit

Permalink
Merge pull request #299 from jimrybarski/master
Browse files Browse the repository at this point in the history
Update to_xml_string to to_xml_report_string to fix deprecation warning
  • Loading branch information
boxed authored Jan 5, 2024
2 parents 90ed55c + afe9e81 commit eb200ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mutmut/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from typing import Tuple


from junit_xml import TestSuite, TestCase
from junit_xml import TestSuite, TestCase, to_xml_report_string
from pony.orm import Database, Required, db_session, Set, Optional, select, \
PrimaryKey, RowNotFound, ERDiagramError, OperationalError

Expand Down Expand Up @@ -255,7 +255,7 @@ def create_junitxml_report(dict_synonyms, suspicious_policy, untested_policy):
test_cases.append(tc)

ts = TestSuite("mutmut", test_cases)
return TestSuite.to_xml_string([ts])
return to_xml_report_string([ts])


@init_db
Expand Down

0 comments on commit eb200ef

Please sign in to comment.