updated doc to delete deprecated hook

This commit is contained in:
Rachel Kogan 2018-04-22 21:56:18 -04:00
parent f0084608cc
commit 6ea4c12da7
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ the command line arguments before they get processed:
# content of conftest.py
import sys
def pytest_cmdline_preparse(args):
def pytest_load_initial_conftests(args):
if 'xdist' in sys.modules: # pytest-xdist plugin
import multiprocessing
num = max(multiprocessing.cpu_count() / 2, 1)