Skip to content

Commit f423ede

Browse files
block test for old pandas
1 parent 98ea48b commit f423ede

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/system/small/operations/test_dates.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515

1616
import datetime
1717

18+
from packaging import version
1819
import pandas as pd
1920
import pandas.testing
21+
import pytest
2022

2123
from bigframes import dtypes
2224

@@ -74,6 +76,8 @@ def test_date_series_diff_agg(scalars_dfs):
7476

7577

7678
def test_date_can_cast_after_accessor(scalars_dfs):
79+
if version.Version(pd.__version__) <= version.Version("2.1.0"):
80+
pytest.skip("pd timezone conversion bug")
7781
bf_df, pd_df = scalars_dfs
7882

7983
actual_result = bf_df["date_col"].dt.isocalendar().week.astype("Int64").to_pandas()

0 commit comments

Comments
 (0)