Merge e93f6cc2ad
into 51ee3880c7
This commit is contained in:
commit
392c1faa6a
|
@ -312,7 +312,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(
|
||||
|
|
Loading…
Reference in New Issue