Skip to content

TST: move misplaced modulo test #23827

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 1 commit into from
Nov 23, 2018
Merged

Conversation

jbrockmendel
Copy link
Member

Found this while looking at tests for reduction ops. I'm wondering if we should collect+parametrize those over DataFrame/Series/Index/EA the same way we do for arithmetic. Thoughts?

@pep8speaks
Copy link

Hello @jbrockmendel! Thanks for submitting the PR.

@codecov
Copy link

codecov bot commented Nov 21, 2018

Codecov Report

Merging #23827 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #23827   +/-   ##
=======================================
  Coverage   92.29%   92.29%           
=======================================
  Files         161      161           
  Lines       51493    51493           
=======================================
  Hits        47524    47524           
  Misses       3969     3969
Flag Coverage Δ
#multiple 90.68% <ø> (ø) ⬆️
#single 42.32% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 99df7da...14cb2de. Read the comment docs.

@gfyoung gfyoung added Testing pandas testing functions or related to the test suite Clean labels Nov 21, 2018
@gfyoung
Copy link
Member

gfyoung commented Nov 21, 2018

I'm wondering if we should collect+parametrize those over DataFrame/Series/Index/EA the same way we do for arithmetic. Thoughts?

That seems like a reasonable proposal.

Copy link
Member

@gfyoung gfyoung left a comment

Choose a reason for hiding this comment

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

Not sure if we want to do anything else here, but the move LGTM though.

@@ -597,6 +597,44 @@ def test_operators_frame(self):
tm.assert_series_equal(ts / ts, ts / df['A'],
check_names=False)

# TODO: this came from tests.series.test_analytics, needs cleannup and
# de-duplication with test_modulo above
Copy link
Member

Choose a reason for hiding this comment

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

Do you want to do that todo here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Un-commited changes in my local branch make this a hassle I'd rather avoid.

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah let's not increase scope of things, plenty to do already.

@jorisvandenbossche jorisvandenbossche changed the title move misplaced modulo test TST: move misplaced modulo test Nov 21, 2018
@jreback jreback added this to the 0.24.0 milestone Nov 21, 2018
@jreback
Copy link
Contributor

jreback commented Nov 21, 2018

lgtm. ex @jorisvandenbossche comment (though certainly fine to do this later).

@jreback jreback merged commit 7e184f0 into pandas-dev:master Nov 23, 2018
@jbrockmendel jbrockmendel deleted the ftests branch November 23, 2018 04:14
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants