Bump min pytest to 7.0.0

Refs #1057
This commit is contained in:
Ran Benita
2024-04-04 19:52:09 +03:00
parent 99b767b6dd
commit 31de42ffa5
15 changed files with 40 additions and 56 deletions

View File

@@ -168,7 +168,7 @@ def init_worker_session(channel, args, option_dict):
sys.path[:] = newpaths
# fullwidth, hasmarkup = channel.receive()
from _pytest.config import Config
from pytest import Config
config = Config.fromdictargs(option_dict, list(args))
config.args = args