Skip to content

Commit ba2968b

Browse files
committed
Add note on the nature of the workaround
1 parent 59a9613 commit ba2968b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Lib/test/test_pyexpat.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,6 +952,12 @@ def test_set_maximum_amplification__fail_for_subparser(self):
952952
subparser = parser.ExternalEntityParserCreate(None)
953953
setter = functools.partial(self.set_maximum_amplification, subparser)
954954
self.assert_root_parser_failure(setter, 123.45)
955+
956+
# NOTE: This is a workaround for issue
957+
# https://github.com/python/cpython/issues/139400
958+
# that can be dropped once pull request
959+
# https://github.com/python/cpython/pull/139403
960+
# has been merged.
955961
del setter
956962
del subparser
957963
del parser

0 commit comments

Comments
 (0)