Fix __init__ declaration

This commit is contained in:
Bruno Oliveira
2018-06-03 12:01:09 -03:00
parent 182d1f6433
commit 98ae25c12c
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ class LoadFileScheduling(LoadScopeScheduling):
This class behaves very much like LoadScopeScheduling, but with a file-level scope.
"""
def __init(self, config, log=None):
def __init__(self, config, log=None):
super(LoadFileScheduling, self).__init__(config, log)
if log is None:
self.log = Producer('loadfilesched')

View File

@@ -6,7 +6,7 @@ from xdist.report import report_collection_diff
from xdist.workermanage import parse_spec_config
class LoadScopeScheduling:
class LoadScopeScheduling(object):
"""Implement load scheduling across nodes, but grouping test by scope.
This distributes the tests collected across all nodes so each test is run