-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
TST: Remove match= in test_setitem_invalid to avoid PytestWarning #61577
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally I'd just remove the match parameter (unless we have a check to make sure it exists).
But either way this looks good, thanks for taking care of it @iabhi4.
I tend to agree with @datapythonista, unless there is a specific check that we are looking for and in this case it does not appear to be, I would leave out the
|
@mroeschke I think the changes you requested have been implemented, this should be ready to merge |
Thanks @iabhi4 |
test only change - This PR removes the use of
match=""
intest_setitem_invalid
withinbase/setitem.py
.Using an empty string as a match pattern triggers a
PytestWarning
in newer versions of pytest, so thematch
argument has been removed since the message was not being validated