Skip to content

Commit 2027e9b

Browse files
committed
add warning test for ai accessor
1 parent f652410 commit 2027e9b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/unit/test_dataframe.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,3 +172,12 @@ def test_dataframe_semantics_property_future_warning(
172172
FutureWarning
173173
):
174174
dataframe.semantics
175+
176+
177+
def test_dataframe_ai_property_future_warning(
178+
monkeypatch: pytest.MonkeyPatch,
179+
):
180+
dataframe = mocks.create_dataframe(monkeypatch)
181+
182+
with pytest.warns(FutureWarning):
183+
dataframe.ai

0 commit comments

Comments
 (0)