forked from pool/python38
Fix patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=174
This commit is contained in:
parent
763b1dde4d
commit
1bf9488238
@ -286,7 +286,7 @@ Patch: CVE-2023-52425-libexpat-2.6.0-backport.patch
|
|||||||
self.assert_event_tags(parser, [])
|
self.assert_event_tags(parser, [])
|
||||||
self._feed(parser, ">\n", chunk_size, flush)
|
self._feed(parser, ">\n", chunk_size, flush)
|
||||||
- self.assert_event_tags(parser, [('end', 'element')])
|
- self.assert_event_tags(parser, [('end', 'element')])
|
||||||
+ expected_events += [('end', 'element')])
|
+ expected_events += [('end', 'element')]
|
||||||
self._feed(parser, "<element>text</element>tail\n", chunk_size, flush)
|
self._feed(parser, "<element>text</element>tail\n", chunk_size, flush)
|
||||||
self._feed(parser, "<empty-element/>\n", chunk_size, flush)
|
self._feed(parser, "<empty-element/>\n", chunk_size, flush)
|
||||||
- self.assert_event_tags(parser, [
|
- self.assert_event_tags(parser, [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user