Skip to content

Commit 418a94a

Browse files
committed
Check tzinfo exists
1 parent 36d2e98 commit 418a94a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/tests/tseries/offsets/test_offsets_properties.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def test_on_offset_implementations(dt, offset):
3434
assume(
3535
not (
3636
WASM
37+
and dt.tzinfo is not None
3738
and dt.tzinfo.key == "Indian/Cocos"
3839
and isinstance(offset, pd.offsets.MonthBegin)
3940
)

0 commit comments

Comments
 (0)