Skip to content

Commit 0ef704c

Browse files
Backport PR #53888 on branch 2.0.x (CI: Fix pytest scripts and doc failure) (#53892)
Backport PR #53888: CI: Fix pytest scripts and doc failure Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
1 parent b8f14c4 commit 0ef704c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

doc/source/whatsnew/v0.10.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ labeled the aggregated group with the end of the interval: the next day).
181181
``X0``, ``X1``, ...) can be reproduced by specifying ``prefix='X'``:
182182

183183
.. ipython:: python
184-
:okwarning:
184+
:okexcept:
185185
186186
import io
187187

scripts/tests/conftest.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# pyproject.toml defines addopts: --strict-data-files
2+
# strict-data-files is defined & used in pandas/conftest.py
3+
def pytest_addoption(parser):
4+
parser.addoption(
5+
"--strict-data-files",
6+
action="store_true",
7+
help="Unused",
8+
)

0 commit comments

Comments
 (0)