diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-09-10 22:46:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-10 22:46:47 (GMT) |
commit | a7e80fb62872127c23ada5cd80fb1251ba19fbd2 (patch) | |
tree | 10fd72a513e1eeb63e87388870259603124e4247 /Python/pythonrun.c | |
parent | cef4951116744d140dae4e4c12738a1cb99a676e (diff) | |
download | cpython-a7e80fb62872127c23ada5cd80fb1251ba19fbd2.zip cpython-a7e80fb62872127c23ada5cd80fb1251ba19fbd2.tar.gz cpython-a7e80fb62872127c23ada5cd80fb1251ba19fbd2.tar.bz2 |
[3.11] gh-109230: test_pyexpat no longer depends on the current directory (GH-109233) (#109242)
gh-109230: test_pyexpat no longer depends on the current directory (GH-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 e55aab95786e0e9fb36a9a1122d2d0fb3d2403cd)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions