1 new commit in pytest: https://bitbucket.org/hpk42/pytest/commits/6fb2ae923e2d/ Changeset: 6fb2ae923e2d User: sashahart Date: 2013-04-03 21:51:06 Summary: doc fix: 'x' should be '-x' so it is not interpreted as a filename Affected #: 2 files
diff -r 7697ae2f476df2bbc3bf65006abb1ff9f11d1664 -r 6fb2ae923e2df3cc9aaf5e696c8fee1113893d3a doc/en/usage.txt --- a/doc/en/usage.txt +++ b/doc/en/usage.txt @@ -165,7 +165,7 @@ It will not raise ``SystemExit`` but return the exitcode instead. You can pass in options and arguments:: - pytest.main(['x', 'mytestdir']) + pytest.main(['-x', 'mytestdir']) or pass in a string:: diff -r 7697ae2f476df2bbc3bf65006abb1ff9f11d1664 -r 6fb2ae923e2df3cc9aaf5e696c8fee1113893d3a doc/ja/usage.txt --- a/doc/ja/usage.txt +++ b/doc/ja/usage.txt @@ -276,7 +276,7 @@ これはコマンドラインから "py.test" を呼び出すように動作します。 ``SystemExit`` を発生させない代わりに終了コードを返します。次のようにオプションと引数を渡します:: - pytest.main(['x', 'mytestdir']) + pytest.main(['-x', 'mytestdir']) .. or pass in a string:: Repository URL: https://bitbucket.org/hpk42/pytest/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ pytest-commit mailing list pytest-commit@python.org http://mail.python.org/mailman/listinfo/pytest-commit