#234 Fix flake 8 and fix comments

This commit is contained in:
feuillemorte
2018-01-17 23:34:39 +03:00
parent 9a5a81962c
commit b04703b6ba
7 changed files with 23 additions and 17 deletions

View File

@@ -153,11 +153,11 @@ def init_worker_session(channel, args, option_dict):
from _pytest.config import Config
config = Config.fromdictargs(option_dict, list(args))
config.args = args
from xdist.looponfail import workerFailSession
workerFailSession(config, channel).main()
from xdist.looponfail import WorkerFailSession
WorkerFailSession(config, channel).main()
class workerFailSession:
class WorkerFailSession:
def __init__(self, config, channel):
self.config = config
self.channel = channel