Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.11] gh-109230: test_pyexpat no longer depends on the current directory (GH-109233) #109242

Merged
merged 1 commit into from Sep 10, 2023

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 10, 2023

Fix test_pyexpat.test_exception(): it can now be run from a directory
different than Python source code directory. Before, the test failed
in this case.

Skip the test if Modules/pyexpat.c source is not available. Skip also
the test on Python implementations other than CPython.
(cherry picked from commit e55aab9)

Co-authored-by: Victor Stinner vstinner@python.org

…ory (pythonGH-109233)

Fix test_pyexpat.test_exception(): it can now be run from a directory
different than Python source code directory. Before, the test failed
in this case.

Skip the test if Modules/pyexpat.c source is not available. Skip also
the test on Python implementations other than CPython.
(cherry picked from commit e55aab9)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot bedevere-bot added awaiting review tests Tests in the Lib/test dir labels Sep 10, 2023
@vstinner vstinner enabled auto-merge (squash) September 10, 2023 22:20
@vstinner vstinner merged commit a7e80fb into python:3.11 Sep 10, 2023
21 of 22 checks passed
@miss-islington miss-islington deleted the backport-e55aab9-3.11 branch September 10, 2023 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants