Skip to content

Commit 59a9613

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

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
@@ -909,6 +909,12 @@ def test_set_activation_threshold__fail_for_subparser(self):
909909
subparser = parser.ExternalEntityParserCreate(None)
910910
setter = functools.partial(self.set_activation_threshold, subparser)
911911
self.assert_root_parser_failure(setter, 12345)
912+
913+
# NOTE: This is a workaround for issue
914+
# https://github.com/python/cpython/issues/139400
915+
# that can be dropped once pull request
916+
# https://github.com/python/cpython/pull/139403
917+
# has been merged.
912918
del setter
913919
del subparser
914920
del parser

0 commit comments

Comments
 (0)