From 9f4cb2392439243c94caa76614b1330ed2357334 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 27 Feb 2019 22:06:18 -0800 Subject: Fix test_parser.py The PyST_Object header in parsermodule.c became one int larger because it contains a PyCompilerFlags struct, which grew extra space for the st_feature_version field. Took me long enough! --- Lib/test/test_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py index 0afeb322e9..5548a871c0 100644 --- a/Lib/test/test_parser.py +++ b/Lib/test/test_parser.py @@ -916,7 +916,7 @@ class STObjectTestCase(unittest.TestCase): return (n + 3) & ~3 return 1 << (n - 1).bit_length() - basesize = support.calcobjsize('Pii') + basesize = support.calcobjsize('Piii') nodesize = struct.calcsize('hP3iP0h2i') def sizeofchildren(node): if node is None: -- cgit v1.2.1