Skip to content

Use DeprecationWarning instead of FutureWarning for is_.._dtype deprecations #55703

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
allow extra warning in parquet test
  • Loading branch information
jorisvandenbossche committed Dec 6, 2023
commit a18f2c9b432c52ff427f3aec5010caf92aeda78c
5 changes: 4 additions & 1 deletion pandas/tests/io/test_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,10 @@ def test_parquet_pos_args_deprecation(engine):
)
with tm.ensure_clean() as path:
with tm.assert_produces_warning(
FutureWarning, match=msg, check_stacklevel=False
FutureWarning,
match=msg,
check_stacklevel=False,
raise_on_extra_warnings=False,
):
df.to_parquet(path, engine)

Expand Down