Skip to content

Commit afc1e2b

Browse files
docs: remove mention of string args to main
fixes #2008 string args got deprecated due to the insane amount of edge-cases wrt splitting on windows vs posix
1 parent de16149 commit afc1e2b

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

doc/en/usage.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,6 @@ You can pass in options and arguments::
310310

311311
pytest.main(['-x', 'mytestdir'])
312312

313-
or pass in a string::
314-
315-
pytest.main("-x mytestdir")
316-
317313
You can specify additional plugins to ``pytest.main``::
318314

319315
# content of myinvoke.py

0 commit comments

Comments
 (0)