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 @@ -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" )
980962class MemoryProtectionTest (AttackProtectionTestBase , unittest .TestCase ):
You can’t perform that action at this time.
0 commit comments