Fix __init__ declaration
This commit is contained in:
@@ -20,7 +20,7 @@ class LoadFileScheduling(LoadScopeScheduling):
|
|||||||
This class behaves very much like LoadScopeScheduling, but with a file-level scope.
|
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)
|
super(LoadFileScheduling, self).__init__(config, log)
|
||||||
if log is None:
|
if log is None:
|
||||||
self.log = Producer('loadfilesched')
|
self.log = Producer('loadfilesched')
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ from xdist.report import report_collection_diff
|
|||||||
from xdist.workermanage import parse_spec_config
|
from xdist.workermanage import parse_spec_config
|
||||||
|
|
||||||
|
|
||||||
class LoadScopeScheduling:
|
class LoadScopeScheduling(object):
|
||||||
"""Implement load scheduling across nodes, but grouping test by scope.
|
"""Implement load scheduling across nodes, but grouping test by scope.
|
||||||
|
|
||||||
This distributes the tests collected across all nodes so each test is run
|
This distributes the tests collected across all nodes so each test is run
|
||||||
|
|||||||
Reference in New Issue
Block a user