Skip to content

TEST: use pytest tmpdir fixture #243

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
Jun 6, 2018
Merged

Conversation

christianbrodbeck
Copy link
Collaborator

Avoid creating files in the repository during testing.

@@ -3,6 +3,7 @@
import nose.tools as nt
from numpy.testing import assert_array_almost_equal, assert_array_equal

from surfer.testing import requires_fsaverage
Copy link
Contributor

Choose a reason for hiding this comment

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

I would not make testing a public module.

@agramfort
Copy link
Contributor

appveyor is not happy

@christianbrodbeck
Copy link
Collaborator Author

I think appveyor is generally unhappy, something about setting up the environment...

@larsoner
Copy link
Contributor

larsoner commented Jun 3, 2018

Let me iterate in #244 to get AppVeyor working again then we can re-run this, since it touches some code that was specific to the windows platform.

@larsoner
Copy link
Contributor

larsoner commented Jun 4, 2018

Sorry @christianbrodbeck I broke this a bit :(

Do you have time to rebase? If not I can do it and push

@codecov-io
Copy link

codecov-io commented Jun 5, 2018

Codecov Report

Merging #243 into master will decrease coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #243      +/-   ##
==========================================
- Coverage   74.98%   74.93%   -0.06%     
==========================================
  Files           7        7              
  Lines        2479     2474       -5     
  Branches      494      493       -1     
==========================================
- Hits         1859     1854       -5     
  Misses        447      447              
  Partials      173      173

@christianbrodbeck
Copy link
Collaborator Author

Rebased and all green...

@agramfort agramfort merged commit 23c21b1 into nipy:master Jun 6, 2018
@agramfort
Copy link
Contributor

thx @christianbrodbeck

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.

4 participants