This repository was archived by the owner on Nov 11, 2024. It is now read-only.
Repository navigation
Ensure common py.test rootdir for test files - #189
Merged
Merged
Conversation
…hat the setup.cfg is in the common root directory for the Python files and the docs. This ensures that in py.test >= 2.7 the correct common test directory can be found as the 'rootdir'. Seems to work fine with older versions of py.test as well (down to 2.4).
Contributor
|
👍 |
Contributor
|
Sorry for closing. Bumped the wrong button :( |
Member
Author
|
Happens :) |
Merged
embray
added a commit
to embray/astropy_helpers
that referenced
this pull request
Sep 21, 2015
embray
added a commit
that referenced
this pull request
Sep 23, 2015
Ensure common py.test rootdir for test files
embray
added a commit
to embray/astropy_helpers
that referenced
this pull request
Sep 23, 2015
embray
added a commit
to embray/astropy_helpers
that referenced
this pull request
Sep 30, 2015
…in OSX, where tempfile.mkdtemp does *not* return a real path.
embray
added a commit
that referenced
this pull request
Sep 30, 2015
… where tempfile.mkdtemp does *not* return a real path.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This now copies the docs for testing into the temp dir, and ensures that the setup.cfg is in the common root directory for the Python files and the docs. This ensures that in py.test >= 2.7 the correct common test directory can be found as the 'rootdir'. Seems to work fine with older versions of py.test as well (down to 2.4).
This replaces #187 as a solution to astropy/astropy#4164