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

fix: pretend we didn't import third-party packages we use. #1228 #1230

Merged
merged 1 commit into from
Oct 6, 2021

Conversation

nedbat
Copy link
Owner

@nedbat nedbat commented Oct 5, 2021

No description provided.

tomli couldn't use coverage themselves because we imported it early.
Cleaning sys.modules means their own imports will actually execute after
coverage has started, so their files will be properly measured.
@nedbat nedbat force-pushed the nedbat/fix-tomli-tests-1228 branch from ccf7b30 to 18652b0 Compare October 6, 2021 11:05
@nedbat nedbat merged commit 613446c into master Oct 6, 2021
@nedbat nedbat deleted the nedbat/fix-tomli-tests-1228 branch October 6, 2021 11:20
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.

1 participant