Skip to content

Commit 8027b28

Browse files
committed
Drop workaround for 139400 as no-longer-needed
1 parent 0049b51 commit 8027b28

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

Lib/test/test_pyexpat.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -923,15 +923,6 @@ def test_set_activation_threshold__fail_for_subparser(self):
923923
setter = functools.partial(self.set_activation_threshold, subparser)
924924
self.assert_root_parser_failure(setter, 12345)
925925

926-
# NOTE: This is a workaround for issue
927-
# https://github.com/python/cpython/issues/139400
928-
# that can be dropped once pull request
929-
# https://github.com/python/cpython/pull/139403
930-
# has been merged.
931-
del setter
932-
del subparser
933-
del parser
934-
935926
@abc.abstractmethod
936927
def test_set_maximum_amplification__amplification_exceeded(self):
937928
"""Test when the amplification factor is exceeded."""
@@ -966,15 +957,6 @@ def test_set_maximum_amplification__fail_for_subparser(self):
966957
setter = functools.partial(self.set_maximum_amplification, subparser)
967958
self.assert_root_parser_failure(setter, 123.45)
968959

969-
# NOTE: This is a workaround for issue
970-
# https://github.com/python/cpython/issues/139400
971-
# that can be dropped once pull request
972-
# https://github.com/python/cpython/pull/139403
973-
# has been merged.
974-
del setter
975-
del subparser
976-
del parser
977-
978960

979961
@unittest.skipIf(expat.version_info < (2, 7, 2), "requires Expat >= 2.7.2")
980962
class MemoryProtectionTest(AttackProtectionTestBase, unittest.TestCase):

0 commit comments

Comments
 (0)