Skip to content

Test: move import_helper out#3480

Merged
youknowone merged 3 commits into
RustPython:mainfrom
deantvv:test-support-import-helper
Nov 30, 2021
Merged

Test: move import_helper out#3480
youknowone merged 3 commits into
RustPython:mainfrom
deantvv:test-support-import-helper

Conversation

@deantvv
Copy link
Copy Markdown
Contributor

@deantvv deantvv commented Nov 29, 2021

This PR only cover the change for Lib/test/support/import_helper.py and reflect the changes necessary for other tests to use.
Mostly of the part is from test.support import xxx --> from test.support.import_helper import xxx etc.

import_fresh_module and CleanImport still use old implementation because it need _imp._override_frozen_modules_for_tests and it is currently not there.

@deantvv deantvv force-pushed the test-support-import-helper branch from 6037fa0 to 14727e6 Compare November 29, 2021 13:03
@youknowone youknowone merged commit 5077d6f into RustPython:main Nov 30, 2021
@youknowone
Copy link
Copy Markdown
Member

great, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants