Skip to content

Commit b951065

Browse files
committed
use better test names
1 parent d636685 commit b951065

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_pyexpat.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ def test_set_alloc_tracker_maximum_amplification(self):
868868
self.assertIsNone(p.SetAllocTrackerMaximumAmplification(10_000))
869869
self.assertIsNotNone(p.Parse(payload))
870870

871-
def test_set_alloc_tracker_maximum_amplification_invalid_args(self):
871+
def test_set_alloc_tracker_maximum_amplification_invalid(self):
872872
parser = expat.ParserCreate()
873873
f = parser.SetAllocTrackerMaximumAmplification
874874

@@ -901,13 +901,13 @@ def test_set_alloc_tracker_activation_threshold(self):
901901
msg = r"out of memory: line \d+, column \d+"
902902
self.assertRaisesRegex(expat.ExpatError, msg, p.Parse, payload)
903903

904-
def test_set_alloc_tracker_activation_threshold_overflown_args(self):
904+
def test_set_alloc_tracker_activation_threshold_overflow(self):
905905
_testcapi = import_helper.import_module("_testcapi")
906906
parser = expat.ParserCreate()
907907
f = parser.SetAllocTrackerActivationThreshold
908908
self.assertRaises(OverflowError, f, _testcapi.ULLONG_MAX + 1)
909909

910-
def test_set_alloc_tracker_activation_threshold_invalid_args(self):
910+
def test_set_alloc_tracker_activation_threshold_invalid(self):
911911
parser = expat.ParserCreate()
912912
subparser = parser.ExternalEntityParserCreate(None)
913913
f = subparser.SetAllocTrackerActivationThreshold

0 commit comments

Comments
 (0)