Skip to content

Commit d61a767

Browse files
authored
Merge pull request #3422 from rachel1792/master
updated doc to delete deprecated hook: Issue #3417
2 parents 2a480c5 + 6ea4c12 commit d61a767

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)