Skip to content

Commit

Permalink
Time Series: Skip testing notebooks not compatible with pandas 2.x
Browse files Browse the repository at this point in the history
- exploratory_data_analysis.ipynb
- time-series-decomposition.ipynb

They are not ready for pandas 2.x yet, and block others from being
upgraded. Apparently, Google Colab now strictly requires pandas 2.x?
  • Loading branch information
amotl committed Jun 18, 2024
1 parent 75b042c commit 0d7b74b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions topic/timeseries/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ def test_notebook(notebook):
raise pytest.skip(f"Kaggle dataset can not be tested "
f"without authentication: {notebook.name}")

if notebook.name in ["exploratory_data_analysis.ipynb", "time-series-decomposition.ipynb"]:
raise pytest.skip(f"Notebook is not compatible with pandas 2.x: {notebook.name}")

with testbook(notebook) as tb:
tb.execute()

0 comments on commit 0d7b74b

Please sign in to comment.