Skip to content
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

TST: tighten stacklevel checks #41560

Merged
merged 1 commit into from
May 19, 2021
Merged

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

@@ -174,7 +174,7 @@ def test_constructor_empty(self, input_class):

if input_class is not list:
# With index:
with tm.assert_produces_warning(DeprecationWarning, check_stacklevel=False):
with tm.assert_produces_warning(DeprecationWarning):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OT we should change this to a FutureWarning

@jreback jreback added this to the 1.3 milestone May 19, 2021
@jreback jreback added the Compat pandas objects compatability with Numpy or Python functions label May 19, 2021
@jreback jreback merged commit 477f51e into pandas-dev:master May 19, 2021
@jbrockmendel jbrockmendel deleted the tst-stacklevels branch May 19, 2021 14:43
@ahawryluk ahawryluk mentioned this pull request May 21, 2021
4 tasks
TLouf pushed a commit to TLouf/pandas that referenced this pull request Jun 1, 2021
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compat pandas objects compatability with Numpy or Python functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants