Skip to content

Commit 709e004

Browse files
committed
fix for pre-commit check
1 parent bc36d1f commit 709e004

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/indexes/common.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -827,8 +827,7 @@ def test_is_categorical_is_deprecated(self, simple_index):
827827
idx = simple_index
828828
with tm.assert_produces_warning(
829829
FutureWarning,
830-
match="Index.is_categorical is deprecated."
831-
"Use pandas.api.types.is_categorical_dtype instead",
830+
match=r"Use pandas\.api\.types\.is_categorical_dtype instead",
832831
):
833832
idx.is_categorical()
834833

0 commit comments

Comments
 (0)