Skip to content

Commit c5a1590

Browse files
committed
amend comment
1 parent 22f14a1 commit c5a1590

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_pyexpat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -887,8 +887,8 @@ def test_set_alloc_tracker_maximum_amplification_fail_for_subparser(self):
887887
self.assertRaisesRegex(expat.ExpatError, msg, fsub, 1.0)
888888

889889
def test_set_alloc_tracker_activation_threshold(self):
890-
# The payload is expected to have a peak allocation
891-
# to be > 2 bytes but pow(10, 5) bytes.
890+
# The payload is expected to have a peak allocation of
891+
# at least 3 bytes but strictly less than 10^5 bytes.
892892
payload = self.exponential_expansion_payload(10, 4)
893893

894894
p = expat.ParserCreate()

0 commit comments

Comments
 (0)