From 7593f7d9cb95f1c313fd33339a6d895d88e743e5 Mon Sep 17 00:00:00 2001 From: Matthew Wardrop Date: Sun, 24 Dec 2023 21:30:16 -0800 Subject: [PATCH] Allow expected deprecation warning from pandas during testing. --- patsy/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/patsy/__init__.py b/patsy/__init__.py index 29722d0..dc8fb0c 100644 --- a/patsy/__init__.py +++ b/patsy/__init__.py @@ -15,6 +15,7 @@ if os.environ.get("PATSY_FORCE_NO_WARNINGS"): import warnings warnings.filterwarnings("error", module="^patsy") + warnings.filterwarnings("ignore", "is_categorical_dtype is deprecated", DeprecationWarning, module="^patsy") del warnings del os