Unified scheduler class interface

This commit is contained in:
Michael Elovskikh
2016-10-20 01:07:39 +05:00
parent 81003df660
commit 27ffbbb4f7
3 changed files with 33 additions and 25 deletions

View File

@@ -48,6 +48,5 @@ def pytest_xdist_node_collection_finished(node, ids):
@pytest.mark.firstresult
def pytest_xdist_make_scheduler(numnodes, log, config):
"""Return a node scheduler implementation, or None.
"""
def pytest_xdist_make_scheduler(numnodes, config, log):
""" return a node scheduler implementation """