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 @@ -950,15 +950,6 @@ def test_set_activation_threshold__fail_for_subparser(self):
950950 setter = functools .partial (self .set_activation_threshold , subparser )
951951 self .assert_root_parser_failure (setter , 12345 )
952952
953- # NOTE: This is a workaround for issue
954- # https://github.com/python/cpython/issues/139400
955- # that can be dropped once pull request
956- # https://github.com/python/cpython/pull/139403
957- # has been merged.
958- del setter
959- del subparser
960- del parser
961-
962953 @abc .abstractmethod
963954 def test_set_maximum_amplification__amplification_exceeded (self ):
964955 """Test when the amplification factor is exceeded."""
@@ -993,15 +984,6 @@ def test_set_maximum_amplification__fail_for_subparser(self):
993984 setter = functools .partial (self .set_maximum_amplification , subparser )
994985 self .assert_root_parser_failure (setter , 123.45 )
995986
996- # NOTE: This is a workaround for issue
997- # https://github.com/python/cpython/issues/139400
998- # that can be dropped once pull request
999- # https://github.com/python/cpython/pull/139403
1000- # has been merged.
1001- del setter
1002- del subparser
1003- del parser
1004-
1005987
1006988@unittest .skipIf (expat .version_info < (2 , 7 , 2 ), "requires Expat >= 2.7.2" )
1007989class MemoryProtectionTest (AttackProtectionTestBase , unittest .TestCase ):
You can’t perform that action at this time.
0 commit comments