File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff 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" )
1003985class MemoryProtectionTest (AttackProtectionTestBase , unittest .TestCase ):
You can’t perform that action at this time.
0 commit comments