-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
pytest.main() modifies current working directory #39
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
Comments
Original comment by Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt): can you give a working minimal example, as far as i can tell there is no place in the current code that does chdir outside of the pytester plugin which is only ueful for pytest plugin acceptance tests |
Original comment by eduardo schettino (BitBucket: schettino72, GitHub: schettino72): I am sorry for the noise. my own test was messing up with the cwd. |
Originally reported by: eduardo schettino (BitBucket: schettino72, GitHub: schettino72)
The value of os.getcwd() is changed after I call pytest.main().
I guess it would be better if pytest restored the original value...
The text was updated successfully, but these errors were encountered: