8000 TST: Added script to enforce usage of match argument for tm.assert_produces_warning by chaarvii · Pull Request #59173 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

TST: Added script to enforce usage of match argument for tm.assert_produces_warning #59173

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

Closed
wants to merge 15 commits into from
Closed
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
Update scripts/enforce_match_arg_in_assert_produces_warning.py
Co-authored-by: Abdulaziz Aloqeely <52792999+Aloqeely@users.noreply.github.com>
  • Loading branch information
chaarvii and Aloqeely authored Jul 4, 2024
commit cdd630358eab1603f65ce66192d66d8453229fa9
5 changes: 4 additions & 1 deletion scripts/enforce_match_arg_in_assert_produces_warning.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@

import argparse
import ast
from collections.abc import Sequence
from typing import TYPE_CHECKING
...
if TYPE_CHECKING:
from collections.abc import Sequence
import sys

ERROR_MESSAGE = (
Expand Down
Loading
0