Skip to content

Commit c0719a5

Browse files
Merge pull request #2009 from pytest-dev/RonnyPfannschmidt-patch-docs-remove-main-string
docs: remove mention of string args to main closes #2008
2 parents de16149 + afc1e2b commit c0719a5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

doc/en/usage.rst

-4
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)