delete silly chdir

This line causes the below insane behavior. I hypothesize that it's here for no really good reason.

https://gist.github.com/bukzor/085b1c2bdaa5bc6033db50d718c48bd3
This commit is contained in:
Buck Evan 2024-01-18 16:52:03 -06:00 committed by GitHub
parent 2178ee86d7
commit 8b52ab6181
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -300,7 +300,6 @@ def wrap_session(
finally:
# Explicitly break reference cycle.
excinfo = None # type: ignore
os.chdir(session.startpath)
if initstate >= 2:
try:
config.hook.pytest_sessionfinish(