There was an error while loading. Please reload this page.
test_pyexpat.test_subparser_inherits_reparse_deferral
1 parent ad09d00 commit 0a787f2Copy full SHA for 0a787f2
1 file changed
Lib/test/test_pyexpat.py
@@ -996,6 +996,9 @@ def test_parent_parser_outlives_its_subparsers__chain(self):
996
del parser
997
del subparser
998
999
+ # gh-155485: GetReparseDeferralEnabled always returns False with Expat <2.6.0.
1000
+ @unittest.skipIf(not expat.ParserCreate().GetReparseDeferralEnabled(),
1001
+ "requires Python compiled with Expat >= 2.6.0")
1002
def test_subparser_inherits_reparse_deferral(self):
1003
for enabled in (True, False):
1004
parser = expat.ParserCreate()
0 commit comments