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
This commit is contained in:
parent
de1614923f
commit
afc1e2b0e1
|
@ -310,10 +310,6 @@ You can pass in options and arguments::
|
||||||
|
|
||||||
pytest.main(['-x', 'mytestdir'])
|
pytest.main(['-x', 'mytestdir'])
|
||||||
|
|
||||||
or pass in a string::
|
|
||||||
|
|
||||||
pytest.main("-x mytestdir")
|
|
||||||
|
|
||||||
You can specify additional plugins to ``pytest.main``::
|
You can specify additional plugins to ``pytest.main``::
|
||||||
|
|
||||||
# content of myinvoke.py
|
# content of myinvoke.py
|
||||||
|
|
Loading…
Reference in New Issue