Skip to content

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