Skip to content

bpo-34632: fix test_importlib with installed CPython #13565

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

Closed
wants to merge 1 commit into from
Closed

bpo-34632: fix test_importlib with installed CPython #13565

wants to merge 1 commit into from

Conversation

yan12125
Copy link
Contributor

@yan12125 yan12125 commented May 25, 2019

"Installed" builders on buildbot.python.org [1] run tests on an
installed CPython copy [2]. Running tests in this way requires all
testing data also installed.

This commit fixes the following error during running tests on an
installed copy:

ModuleNotFoundError: No module named 'test.test_importlib.data'

[1] https://buildbot.python.org/all/#/builders?tags=%2Binstalled&tags=%2B3.x
[2] https://github.com/python/buildmaster-config/blob/master/master/custom/factories.py

https://bugs.python.org/issue34632

"Installed" builders on buildbot.python.org [1] run tests on an
installed CPython copy [2]. Running tests in this way requires all
testing data also installed.

This commit fixes the following error during running tests on an
installed copy:

    ModuleNotFoundError: No module named 'test.test_importlib.data'

[1] https://buildbot.python.org/all/#/builders?tags=%2Binstalled&tags=%2B3.x
[2] https://github.com/python/buildmaster-config/blob/master/master/custom/factories.py
@jaraco
Copy link
Member

jaraco commented May 25, 2019

I missed this earlier. It's since been superseded by #13566.

@jaraco jaraco closed this May 25, 2019
@yan12125 yan12125 deleted the fix-test_importlib-installed branch May 26, 2019 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants