From 8cfa9f80b0d96c7bfa9abfad3205016c86a142c7 Mon Sep 17 00:00:00 2001 From: martin-kokos <4807476+martin-kokos@users.noreply.github.com> Date: Sun, 2 Feb 2025 10:03:35 +0100 Subject: [PATCH 1/2] Update starting.rst Add persistent pytest config method --- doc/starting.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/starting.rst b/doc/starting.rst index f3f7a10e..b8cb766f 100644 --- a/doc/starting.rst +++ b/doc/starting.rst @@ -179,5 +179,7 @@ like so:: $ pytest --pdbcls pudb.debugger:Debugger --pdb --capture=no +More persistantly, it's possible to add the option to the ``adopts =`` settings in one of pytest's `configuration files `_. + Note the need to pass --capture=no (or its synonym -s) as otherwise pytest tries to manage the standard streams itself. (contributed by Antony Lee) From 7a5c4508adbe3244fdfd2db081fd7aaf46a231ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Mon, 3 Feb 2025 14:00:07 -0600 Subject: [PATCH 2/2] Update doc/starting.rst --- doc/starting.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/starting.rst b/doc/starting.rst index b8cb766f..c1854300 100644 --- a/doc/starting.rst +++ b/doc/starting.rst @@ -179,7 +179,7 @@ like so:: $ pytest --pdbcls pudb.debugger:Debugger --pdb --capture=no -More persistantly, it's possible to add the option to the ``adopts =`` settings in one of pytest's `configuration files `_. +To make this persistent, it is possible to add the option to the ``adopts =`` settings in one of pytest's `configuration files `_. Note the need to pass --capture=no (or its synonym -s) as otherwise pytest tries to manage the standard streams itself. (contributed by Antony Lee)