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 <[email protected]>
1 parent b8f14c4 commit 0ef704c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Diff for: doc/source/whatsnew/v0.10.0.rst

+1-1
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

Diff for: scripts/tests/conftest.py

+8
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)