From afc1e2b0e1cc67c33fcadbb9f83bed56c17d184a Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Tue, 18 Oct 2016 17:21:40 +0200 Subject: [PATCH] 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 --- doc/en/usage.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/doc/en/usage.rst b/doc/en/usage.rst index f87e1496d9e..ef63a8e067c 100644 --- a/doc/en/usage.rst +++ b/doc/en/usage.rst @@ -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