Skip to content

fix run order-dependant test failure #582

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

Merged
merged 2 commits into from
Dec 6, 2015
Merged

Conversation

thomasballinger
Copy link
Member

Possibly we should have a test that explicitly tests for this behavior, but with our current tests I got failures only when tests were run in a specific order.

@@ -291,6 +297,7 @@ def setUp(self):
self.open = partial(io.open, mode='wt', encoding='utf-8')
self.dont_write_bytecode = sys.dont_write_bytecode
sys.dont_write_bytecode = True
invalidate_caches()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please document why invalidate_caches is called here?

sebastinas added a commit that referenced this pull request Dec 6, 2015
fix run order-dependant test failure
@sebastinas sebastinas merged commit b0f0496 into master Dec 6, 2015
@thomasballinger thomasballinger deleted the fix-rutime-import-test branch December 7, 2015 02:36
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