Skip to content

TST/CLN: Parameterize test in sparse/test_indexing #23213

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

Conversation

gfyoung
Copy link
Member

@gfyoung gfyoung commented Oct 17, 2018

Title is self-explanatory.

@gfyoung gfyoung added Refactor Internal refactoring of code Testing pandas testing functions or related to the test suite Sparse Sparse Data Type labels Oct 17, 2018
@gfyoung gfyoung added this to the 0.24.0 milestone Oct 17, 2018
@pep8speaks
Copy link

Hello @gfyoung! Thanks for submitting the PR.

@gfyoung
Copy link
Member Author

gfyoung commented Oct 17, 2018

I expect to have Azure fail until #23182 is merged.

Copy link
Member

@jschendel jschendel left a comment

Choose a reason for hiding this comment

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

LGTM in general. A few small comments (also want to try out this new "suggestion" feature).

@gfyoung gfyoung force-pushed the sparse-index-test-pytest branch from 4ceebc3 to b8f5789 Compare October 17, 2018 23:22
@codecov
Copy link

codecov bot commented Oct 17, 2018

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #23213   +/-   ##
=======================================
  Coverage   92.19%   92.19%           
=======================================
  Files         169      169           
  Lines       50954    50954           
=======================================
  Hits        46975    46975           
  Misses       3979     3979
Flag Coverage Δ
#multiple 90.61% <ø> (ø) ⬆️
#single 42.27% <ø> (ø) ⬆️

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 1546c35...5b68ad4. Read the comment docs.

@gfyoung
Copy link
Member Author

gfyoung commented Oct 17, 2018

A few small comments (also want to try out this new "suggestion" feature).

In the context of pandas, the fact that each applied suggestion is a new commit means we're going to trigger CI for each applied suggestion, which is not ideal unfortunately. Interesting feature though...

@jschendel
Copy link
Member

My only gripe with the feature is that it is going to fire new commits every time.

Yeah, and doesn't look like there's a way to do multi-line edits. Probably good if there's a single one line change that needs to be made, but otherwise might not be worthwhile atm.

Each commit (at least for this repository) is going to trigger CI IIUC.

Is CI smart enough to cancel the job if a newer commit has been made? I've seen it do so in some similar scenarios before, but not sure what the exact logic around that is.

@jreback
Copy link
Contributor

jreback commented Oct 17, 2018

CI do cancel older builds if newer ones appear
though only if they didn’t start

@gfyoung
Copy link
Member Author

gfyoung commented Oct 17, 2018

CI do cancel older builds if newer ones appear
though only if they didn’t start

Ideally, though Circle was having issues with that...

@gfyoung gfyoung force-pushed the sparse-index-test-pytest branch from b8f5789 to 5b68ad4 Compare October 18, 2018 02:55
@gfyoung
Copy link
Member Author

gfyoung commented Oct 18, 2018

@jreback : Addressed all comments, and all is green again! PTAL.

@TomAugspurger TomAugspurger merged commit b214258 into pandas-dev:master Oct 18, 2018
@TomAugspurger
Copy link
Contributor

Thanks!

@gfyoung gfyoung deleted the sparse-index-test-pytest branch October 18, 2018 16:10
tm9k1 pushed a commit to tm9k1/pandas that referenced this pull request Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Internal refactoring of code Sparse Sparse Data Type 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