Skip to content

Commit a56f668

Browse files
committed
Improve comment on the nature of the leak
1 parent b6e9fab commit a56f668

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/test/test_pyexpat.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,8 @@ def test_change_size_2(self):
686686

687687
class ElementDeclHandlerTest(unittest.TestCase):
688688
def test_trigger_leak(self):
689-
# Unfixed, this test would leak 32 to 56 bytes of memory.
689+
# Unfixed, this test would leak the memory of the so-called
690+
# "content model" in function ``my_ElementDeclHandler`` of pyexpat.
690691
# See https://github.com/python/cpython/issues/140593.
691692
data = textwrap.dedent('''\
692693
<!DOCTYPE quotations SYSTEM "quotations.dtd" [

0 commit comments

Comments
 (0)