Skip to content

TEST: pytest conversion #864 #865 #870

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 25 commits into from
Feb 4, 2020
Merged

TEST: pytest conversion #864 #865 #870

merged 25 commits into from
Feb 4, 2020

Conversation

robbisg
Copy link
Collaborator

@robbisg robbisg commented Feb 4, 2020

All tests passed on my laptop, and I'm waiting for Travis!
I kept the tests using np.assert_equal_array.

@codecov
Copy link

codecov bot commented Feb 4, 2020

Codecov Report

Merging #870 into pytest will decrease coverage by 57.51%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           pytest     #870       +/-   ##
===========================================
- Coverage   81.59%   24.07%   -57.52%     
===========================================
  Files          97       97               
  Lines       12402    12155      -247     
  Branches     2186     2186               
===========================================
- Hits        10119     2926     -7193     
- Misses       1876     9149     +7273     
+ Partials      407       80      -327
Impacted Files Coverage Δ
nibabel/rstutils.py 3.33% <0%> (-96.67%) ⬇️
nibabel/fileutils.py 9.09% <0%> (-90.91%) ⬇️
nibabel/nicom/utils.py 9.09% <0%> (-90.91%) ⬇️
nibabel/fileslice.py 8.87% <0%> (-88.4%) ⬇️
nibabel/orientations.py 12.29% <0%> (-87.71%) ⬇️
nibabel/freesurfer/io.py 9.33% <0%> (-84.89%) ⬇️
nibabel/cifti2/cifti2_axes.py 16.6% <0%> (-81.75%) ⬇️
nibabel/cmdline/diff.py 12.58% <0%> (-81.12%) ⬇️
nibabel/arraywriters.py 16.15% <0%> (-80.81%) ⬇️
nibabel/processing.py 21.33% <0%> (-78.67%) ⬇️
... and 69 more

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 f908ca4...6d3155f. Read the comment docs.

Copy link
Member

@effigies effigies left a comment

Choose a reason for hiding this comment

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

Reviewed test_array_sequence.py

Copy link
Member

@effigies effigies left a comment

Choose a reason for hiding this comment

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

Tractogram comments.

@effigies
Copy link
Member

effigies commented Feb 4, 2020

Nice start! Apologies for the mass of suggestions.

@effigies effigies mentioned this pull request Feb 4, 2020
37 tasks
robbisg and others added 21 commits February 4, 2020 16:57
@robbisg
Copy link
Collaborator Author

robbisg commented Feb 4, 2020

Nice start! Apologies for the mass of suggestions.

No worries!! I'm a mess I know!! ;)

Copy link
Collaborator Author

@robbisg robbisg left a comment

Choose a reason for hiding this comment

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

Done! 💪

@effigies
Copy link
Member

effigies commented Feb 4, 2020

I marked these modules to skip on the pytest branch. You might want to merge/rebase and then make sure the skips are being removed in the files you're touching.

@robbisg
Copy link
Collaborator Author

robbisg commented Feb 4, 2020

I can also do the test_tck.py and then rebase and merge, as you prefer!

@effigies
Copy link
Member

effigies commented Feb 4, 2020

I'd suggest rebasing or merging first. Then I can have another read through as you work on TCK.

@robbisg robbisg merged commit 51016a7 into nipy:pytest Feb 4, 2020
@effigies
Copy link
Member

effigies commented Feb 4, 2020

Oh, sorry. I meant merge pytest into here... Ah well.

@robbisg
Copy link
Collaborator Author

robbisg commented Feb 4, 2020

Ops!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants