From 6ea4c12da75e54f5569ab31456a1519049cc45ea Mon Sep 17 00:00:00 2001 From: Rachel Kogan Date: Sun, 22 Apr 2018 21:56:18 -0400 Subject: [PATCH] updated doc to delete deprecated hook --- doc/en/example/simple.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/example/simple.rst b/doc/en/example/simple.rst index 25d1225b5..014871971 100644 --- a/doc/en/example/simple.rst +++ b/doc/en/example/simple.rst @@ -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)