@@ -868,7 +868,7 @@ def test_set_alloc_tracker_maximum_amplification(self):
868
868
self .assertIsNone (p .SetAllocTrackerMaximumAmplification (10_000 ))
869
869
self .assertIsNotNone (p .Parse (payload ))
870
870
871
- def test_set_alloc_tracker_maximum_amplification_invalid_args (self ):
871
+ def test_set_alloc_tracker_maximum_amplification_invalid (self ):
872
872
parser = expat .ParserCreate ()
873
873
f = parser .SetAllocTrackerMaximumAmplification
874
874
@@ -901,13 +901,13 @@ def test_set_alloc_tracker_activation_threshold(self):
901
901
msg = r"out of memory: line \d+, column \d+"
902
902
self .assertRaisesRegex (expat .ExpatError , msg , p .Parse , payload )
903
903
904
- def test_set_alloc_tracker_activation_threshold_overflown_args (self ):
904
+ def test_set_alloc_tracker_activation_threshold_overflow (self ):
905
905
_testcapi = import_helper .import_module ("_testcapi" )
906
906
parser = expat .ParserCreate ()
907
907
f = parser .SetAllocTrackerActivationThreshold
908
908
self .assertRaises (OverflowError , f , _testcapi .ULLONG_MAX + 1 )
909
909
910
- def test_set_alloc_tracker_activation_threshold_invalid_args (self ):
910
+ def test_set_alloc_tracker_activation_threshold_invalid (self ):
911
911
parser = expat .ParserCreate ()
912
912
subparser = parser .ExternalEntityParserCreate (None )
913
913
f = subparser .SetAllocTrackerActivationThreshold
0 commit comments