Skip to content

Commit 4067193

Browse files
committed
changelog: add fragment
1 parent 8fd741f commit 4067193

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

changelog/13879.doc.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Clarified `pytest/Config.getoption` docstring to make the exceptional behavior of `default` with `skip=True` explicit.
2+
3+
The previous docstring implied:
4+
5+
- The `default` parameter is ignored when the option is declared.
6+
7+
But actual behavior is:
8+
9+
- The `default` is **not ignored** even if the option is declared, when `skip=True` and the option has `None` value.

0 commit comments

Comments
 (0)