Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Test command refactor - #184

Merged
embray merged 5 commits into
astropy:masterfrom
embray:test-command-refactor
Sep 16, 2015
Merged

embray merged 5 commits into
astropy:masterfrom
embray:test-command-refactor

Conversation

@embray

@embray embray commented Sep 14, 2015

Copy link
Copy Markdown
Member

This is the change that goes along with astropy/astropy#4020. By default this will try to load the test command from astropy.tests. However, it still keeps a copy of the old test command implementation that lived in astropy_helpers, so that will continue to work when used with older versions of Astropy.

This also provides a dummy test command so that the command at least shows up as available without Astropy installed (but doesn't actually do anything without astropy.tests being available).

…s is just a matter of porting the change originally made in 1068e26 to work in the v1.0 release series.
…lder versions of Astropy anyways). Add multiple ways of getting a ./setup.py test command compatible with different versions of astropy (or lack of astropy).
@embray embray added this to the v1.1 milestone Sep 14, 2015
embray added a commit that referenced this pull request Sep 16, 2015
@embray
embray merged commit d3fb548 into astropy:master Sep 16, 2015
@embray
embray deleted the test-command-refactor branch September 16, 2015 19:12
embray added a commit to embray/astropy that referenced this pull request Sep 22, 2015
… in astropy_helpers itself. This makes up for a bug introduced in astropy/astropy-helpers#184 where astropy_helpers.command.test attempts to import astropy (just to check whether a class is importable) but that causes things to go haywire if _ASTROPY_SETUP_ hasn't been set yet.
embray added a commit to embray/astropy that referenced this pull request Sep 22, 2015
… in astropy_helpers itself. This makes up for a bug introduced in astropy/astropy-helpers#184 where astropy_helpers.command.test attempts to import astropy (just to check whether a class is importable) but that causes things to go haywire if _ASTROPY_SETUP_ hasn't been set yet.
embray added a commit to embray/astropy that referenced this pull request Sep 23, 2015
… in astropy_helpers itself. This makes up for a bug introduced in astropy/astropy-helpers#184 where astropy_helpers.command.test attempts to import astropy (just to check whether a class is importable) but that causes things to go haywire if _ASTROPY_SETUP_ hasn't been set yet.
embray added a commit to embray/astropy that referenced this pull request Sep 23, 2015
… in astropy_helpers itself. This makes up for a bug introduced in astropy/astropy-helpers#184 where astropy_helpers.command.test attempts to import astropy (just to check whether a class is importable) but that causes things to go haywire if _ASTROPY_SETUP_ hasn't been set yet.
embray added a commit to embray/astropy_helpers that referenced this pull request Sep 29, 2015
embray added a commit that referenced this pull request Sep 30, 2015
Fixed a regression introduced by by #184 that caused testing to always default to verbose results
dhomeier pushed a commit to dhomeier/astropy that referenced this pull request Dec 17, 2015
… in astropy_helpers itself. This makes up for a bug introduced in astropy/astropy-helpers#184 where astropy_helpers.command.test attempts to import astropy (just to check whether a class is importable) but that causes things to go haywire if _ASTROPY_SETUP_ hasn't been set yet.
dhomeier pushed a commit to dhomeier/astropy that referenced this pull request Jun 12, 2016
… in astropy_helpers itself. This makes up for a bug introduced in astropy/astropy-helpers#184 where astropy_helpers.command.test attempts to import astropy (just to check whether a class is importable) but that causes things to go haywire if _ASTROPY_SETUP_ hasn't been set yet.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant