adapt to new 1.3.0 hook registration
This commit is contained in:
@@ -176,9 +176,9 @@ def pytest_addoption(parser):
|
|||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# distributed testing hooks
|
# distributed testing hooks
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
def pytest_registerhooks(pluginmanager):
|
def pytest_addhooks(pluginmanager):
|
||||||
from xdist import newhooks
|
from xdist import newhooks
|
||||||
pluginmanager.registerhooks(newhooks)
|
pluginmanager.addhooks(newhooks)
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# distributed testing initialization
|
# distributed testing initialization
|
||||||
|
|||||||
Reference in New Issue
Block a user