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:
parent
2178ee86d7
commit
8b52ab6181
|
@ -300,7 +300,6 @@ def wrap_session(
|
||||||
finally:
|
finally:
|
||||||
# Explicitly break reference cycle.
|
# Explicitly break reference cycle.
|
||||||
excinfo = None # type: ignore
|
excinfo = None # type: ignore
|
||||||
os.chdir(session.startpath)
|
|
||||||
if initstate >= 2:
|
if initstate >= 2:
|
||||||
try:
|
try:
|
||||||
config.hook.pytest_sessionfinish(
|
config.hook.pytest_sessionfinish(
|
||||||
|
|
Loading…
Reference in New Issue