Skip to content

Commit

Permalink
Backport PR #53888 on branch 2.0.x (CI: Fix pytest scripts and doc fa…
Browse files Browse the repository at this point in the history
…ilure) (#53892)

Backport PR #53888: CI: Fix pytest scripts and doc failure

Co-authored-by: Matthew Roeschke <[email protected]>
  • Loading branch information
meeseeksmachine and mroeschke authored Jun 28, 2023
1 parent b8f14c4 commit 0ef704c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/whatsnew/v0.10.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ labeled the aggregated group with the end of the interval: the next day).
``X0``, ``X1``, ...) can be reproduced by specifying ``prefix='X'``:

.. ipython:: python
:okwarning:
:okexcept:
import io
Expand Down
8 changes: 8 additions & 0 deletions scripts/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# pyproject.toml defines addopts: --strict-data-files
# strict-data-files is defined & used in pandas/conftest.py
def pytest_addoption(parser):
parser.addoption(
"--strict-data-files",
action="store_true",
help="Unused",
)

0 comments on commit 0ef704c

Please sign in to comment.