Skip to content

TST/REF: collect tests by method #39832

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 7 commits into from
Feb 16, 2021

Conversation

jbrockmendel
Copy link
Member

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

@jreback jreback added the Testing pandas testing functions or related to the test suite label Feb 16, 2021
@jbrockmendel
Copy link
Member Author

@WillAyd do you have time to look at the npdev json failure (i think its affecting all PRs ATM)

@WillAyd
Copy link
Member

WillAyd commented Feb 16, 2021 via email

@jbrockmendel
Copy link
Member Author

@seberg any ideas what in npdev could be causing a DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python to be issued? I looked at recently-merged PRs and didn't see anything obvious.

Only occurs with datetime64tz columns

@seberg
Copy link
Contributor

seberg commented Feb 16, 2021

There is one stranger change in the recent dev version that might be related, would have to dig in

If you had a string + number or maybe also string + datetime64 promotion in an array creation, like np.array(["string", 1]), that might give you an object array, which in turn might run into this Deprecation warning? That is a bit around the corner though :). (numpy/numpy#18425 although that one focuses on masked arrays)

I also recently modified that float + timedelta64 always raises an error during a promotion. That could lead to a similar "to object" behaviour when using np.array([...]).

@WillAyd
Copy link
Member

WillAyd commented Feb 16, 2021

@jbrockmendel have you been able to reproduce locally? I tried with 3.8.5 and the DEV numpy but couldn't get the test to fail

@jbrockmendel
Copy link
Member Author

have you been able to reproduce locally? I tried with 3.8.5 and the DEV numpy but couldn't get the test to fail

are you passing -W error? im getting the warning with np 1.19.5, which actually suggests its something on our end

@jreback jreback added this to the 1.3 milestone Feb 16, 2021
@jreback
Copy link
Contributor

jreback commented Feb 16, 2021

FYI opened #39854 for the failure

@jreback
Copy link
Contributor

jreback commented Feb 16, 2021

@jbrockmendel same number tests before / after?

@jreback
Copy link
Contributor

jreback commented Feb 16, 2021

well your after will be higher (as you split some).

@jbrockmendel
Copy link
Member Author

same number tests before / after?

nothing removed, just moved or split

@jreback jreback merged commit 3f39757 into pandas-dev:master Feb 16, 2021
@jbrockmendel jbrockmendel deleted the tst-indexing-15 branch February 16, 2021 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants