Skip to content

Skip more pyexpat tests based on compile-time expat version, not runtime - #155638

Open
hroncok wants to merge 1 commit into
python:mainfrom
hroncok:reparse_deferral
Open

Skip more pyexpat tests based on compile-time expat version, not runtime#155638
hroncok wants to merge 1 commit into
python:mainfrom
hroncok:reparse_deferral

Conversation

@hroncok

@hroncok hroncok commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

This is a followup for GH-144739 and GH-155485

@bedevere-app bedevere-app Bot added tests Tests in the Lib/test dir awaiting review labels Aug 12, 2026
Comment thread Lib/test/test_pyexpat.py


class ReparseDeferralTest(unittest.TestCase):
deferal_supported = expat.ParserCreate().GetReparseDeferralEnabled()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please protect this call just in case (put it at the top-level of the file, see ssl tests for instance)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll have a look. Not sure what you mean by protect, but hopefully that will be more obvious when I do.

@aisk aisk added the skip news label Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants