Skip to content

Commit 6ea4c12

Browse files
Rachel KoganRachel Kogan
Rachel Kogan
authored and
Rachel Kogan
committed
updated doc to delete deprecated hook
1 parent f008460 commit 6ea4c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/en/example/simple.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ the command line arguments before they get processed:
102102
103103
# content of conftest.py
104104
import sys
105-
def pytest_cmdline_preparse(args):
105+
def pytest_load_initial_conftests(args):
106106
if 'xdist' in sys.modules: # pytest-xdist plugin
107107
import multiprocessing
108108
num = max(multiprocessing.cpu_count() / 2, 1)

0 commit comments

Comments
 (0)