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