Skip to content

TST: Regression test added for Timedelta #46645

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 5 commits into from
Closed

Conversation

rxd330
Copy link
Contributor

@rxd330 rxd330 commented Apr 5, 2022

The commit on Mar 18 is approved. Not sure why it is showing up here... You can see it here:
#46422

This PR adds a regression test for #35665 , which was caused by #38965. Please let me know if there's more I need to do! Thanks!

@jreback jreback added this to the 1.5 milestone Apr 10, 2022
@jreback jreback added Timedelta Timedelta data type Testing pandas testing functions or related to the test suite labels Apr 10, 2022
@@ -1107,3 +1107,15 @@ def test_compare_complex_dtypes():

with pytest.raises(TypeError, match=msg):
df.lt(df.astype(object))


def test_categorical_of_booleans_is_boolean():
Copy link
Contributor

Choose a reason for hiding this comment

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

this is unrelated, please merge master

)
try:
for _, row in df.iterrows():
row
Copy link
Contributor

Choose a reason for hiding this comment

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

don't put a try/except in a test.

also compare row here

@github-actions
Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label May 11, 2022
@mroeschke
Copy link
Member

Thanks for the pull request, but it appears to be stale. If interested in continuing, please merge in the main branch, address the review, and we can reopen.

@mroeschke mroeschke closed this May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale Testing pandas testing functions or related to the test suite Timedelta Timedelta data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: iterrows encounters OverflowError with str and datetime64[ns] columns
3 participants