Projects
Mega:24.09
python3
_service:tar_scm:fix-check-error-with-CVEfixed-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:fix-check-error-with-CVEfixed-expat-2.5.0.patch of Package python3
diff -ur a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py --- a/Lib/test/test_xml_etree.py 2024-06-25 03:33:22.925676272 +0000 +++ b/Lib/test/test_xml_etree.py 2024-06-25 03:34:30.900338499 +0000 @@ -121,8 +121,8 @@ </foo> """ -fails_with_expat_2_6_0 = (unittest.expectedFailure - if pyexpat.version_info >= (2, 6, 0) else +fails_with_expat_2_5_0 = (unittest.expectedFailure + if pyexpat.version_info >= (2, 5, 0) else lambda test: test) def checkwarnings(*filters, quiet=False): @@ -1424,11 +1424,11 @@ self.assert_event_tags(parser, [('end', 'root')]) self.assertIsNone(parser.close()) - @fails_with_expat_2_6_0 + @fails_with_expat_2_5_0 def test_simple_xml_chunk_1(self): self.test_simple_xml(chunk_size=1) - @fails_with_expat_2_6_0 + @fails_with_expat_2_5_0 def test_simple_xml_chunk_5(self): self.test_simple_xml(chunk_size=5)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2