Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:Python
python-unittest-xml-reporting
python-312.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-312.patch of Package python-unittest-xml-reporting
Index: unittest-xml-reporting-3.2.0/tests/testsuite.py =================================================================== --- unittest-xml-reporting-3.2.0.orig/tests/testsuite.py +++ unittest-xml-reporting-3.2.0/tests/testsuite.py @@ -807,6 +807,8 @@ class XMLTestRunnerTestCase(unittest.Tes countBeforeTest = sys.getrefcount(self.DummyRefCountTest.dummy) runner = self._test_xmlrunner(suite) countAfterTest = sys.getrefcount(self.DummyRefCountTest.dummy) + if sys.version_info >= (3, 12): + countBeforeTest += 1 self.assertEqual(countBeforeTest, countAfterTest) class StderrXMLTestRunner(xmlrunner.XMLTestRunner):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor