Skip to content

remove unused cimport, parametrize test #21710

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 2 commits into from
Jul 3, 2018
Merged

Conversation

jbrockmendel
Copy link
Member

No description provided.

@@ -16,8 +16,6 @@ cimport numpy as cnp
from numpy cimport ndarray, uint8_t
cnp.import_array()

cimport util
Copy link
Contributor

Choose a reason for hiding this comment

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

do you have a linter that catches this?

Copy link
Member Author

Choose a reason for hiding this comment

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

We've discussed this a couple times and haven't found a good solution for this. It's on my list to bring up with the group at the sprint.

Copy link
Contributor

Choose a reason for hiding this comment

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

right, just asking if you found a soln!

def f(self):
sparse_op = getattr(splib, 'sparse_%s_float64' % op)
python_op = getattr(operator, op)
@pytest.mark.parametrize('opname',
Copy link
Contributor

Choose a reason for hiding this comment

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

worth making a fixture in conftest?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think this is a pretty specific set of strings that wouldn't get used often. But I didn't look at this closely, just saw that the existing formatting was crying out to be updated.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, that's fine

@jreback jreback added the Testing pandas testing functions or related to the test suite label Jul 2, 2018
@jreback jreback added this to the 0.24.0 milestone Jul 2, 2018
@codecov
Copy link

codecov bot commented Jul 3, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@be14333). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #21710   +/-   ##
=========================================
  Coverage          ?    91.9%           
=========================================
  Files             ?      158           
  Lines             ?    49690           
  Branches          ?        0           
=========================================
  Hits              ?    45670           
  Misses            ?     4020           
  Partials          ?        0
Flag Coverage Δ
#multiple 90.28% <ø> (?)
#single 41.95% <ø> (?)

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 be14333...17ca09c. Read the comment docs.

@jreback jreback merged commit c231a92 into pandas-dev:master Jul 3, 2018
@jreback
Copy link
Contributor

jreback commented Jul 3, 2018

thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the libs branch July 3, 2018 14:47
Sup3rGeo pushed a commit to Sup3rGeo/pandas that referenced this pull request Oct 1, 2018
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.

3 participants