Skip to content

Commit f6e0edc

Browse files
committed
Drop workaround for 139400 as no-longer-needed
1 parent 2a25a71 commit f6e0edc

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
@@ -946,15 +946,6 @@ def test_set_activation_threshold__fail_for_subparser(self):
946946
setter = functools.partial(self.set_activation_threshold, subparser)
947947
self.assert_root_parser_failure(setter, 12345)
948948

949-
# NOTE: This is a workaround for issue
950-
# https://github.com/python/cpython/issues/139400
951-
# that can be dropped once pull request
952-
# https://github.com/python/cpython/pull/139403
953-
# has been merged.
954-
del setter
955-
del subparser
956-
del parser
957-
958949
@abc.abstractmethod
959950
def test_set_maximum_amplification__amplification_exceeded(self):
960951
"""Test when the amplification factor is exceeded."""
@@ -989,15 +980,6 @@ def test_set_maximum_amplification__fail_for_subparser(self):
989980
setter = functools.partial(self.set_maximum_amplification, subparser)
990981
self.assert_root_parser_failure(setter, 123.45)
991982

992-
# NOTE: This is a workaround for issue
993-
# https://github.com/python/cpython/issues/139400
994-
# that can be dropped once pull request
995-
# https://github.com/python/cpython/pull/139403
996-
# has been merged.
997-
del setter
998-
del subparser
999-
del parser
1000-
1001983

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

0 commit comments

Comments
 (0)