Skip to content

Commit 83b4eb2

Browse files
authored
Apply suggestion by Ran
1 parent 692def2 commit 83b4eb2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/en/warnings.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ all other warnings into errors.
7575

7676
.. code-block:: ini
7777
78+
# pytest.ini
7879
[pytest]
7980
filterwarnings =
8081
error
@@ -83,11 +84,12 @@ all other warnings into errors.
8384
8485
.. code-block:: toml
8586
86-
[tool.pytest.ini_options]
87-
# note the use of single quote below to denote "raw" strings in TOML
87+
# pyproject.toml
88+
[tool.pytest.ini_options]
8889
filterwarnings = [
8990
"error",
9091
"ignore::UserWarning",
92+
# note the use of single quote below to denote "raw" strings in TOML
9193
'ignore:function ham\(\) is deprecated:DeprecationWarning',
9294
]
9395

0 commit comments

Comments
 (0)