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

tests: fix test_cwd_snapshot #6536

Merged
merged 1 commit into from
Jan 22, 2020

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Jan 22, 2020

Without restoring the cwd, successive tests might fail to parse the
config (via _pytest.config._prepareconfig(), for when --lsof is
used).

And it is good practice to restore the cwd in any case anyway.

Without restoring the cwd, successive tests might fail to parse the
config (via `_pytest.config._prepareconfig()`, for when `--lsof` is
used).

And it is good practice to restore the cwd in any case anyway.
@blueyed blueyed force-pushed the fix-test_cwd_snapshot branch 2 times, most recently from 8a3f4e1 to b8787b8 Compare January 22, 2020 13:36
@blueyed blueyed merged commit 85df6bb into pytest-dev:master Jan 22, 2020
@blueyed blueyed deleted the fix-test_cwd_snapshot branch January 22, 2020 15:46
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