Skip to content

Commit

Permalink
Allow expected deprecation warning from pandas during testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwardrop committed Dec 25, 2023
1 parent a889cde commit 7593f7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions patsy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7593f7d

Please sign in to comment.