Skip to content

Commit

Permalink
docs: remove mention of string args to main
Browse files Browse the repository at this point in the history
fixes #2008

string args got deprecated due to the insane amount of edge-cases wrt splitting on windows vs posix
  • Loading branch information
RonnyPfannschmidt committed Oct 18, 2016
1 parent de16149 commit afc1e2b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions doc/en/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,6 @@ You can pass in options and arguments::

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

or pass in a string::

pytest.main("-x mytestdir")

You can specify additional plugins to ``pytest.main``::

# content of myinvoke.py
Expand Down

0 comments on commit afc1e2b

Please sign in to comment.