Skip to content

don't run doctests when -t option given - #2004

Merged
eteq merged 1 commit into
astropy:masterfrom
eteq:test-path-no-doctests
Jan 28, 2014
Merged

eteq merged 1 commit into
astropy:masterfrom
eteq:test-path-no-doctests

Conversation

@eteq

@eteq eteq commented Jan 27, 2014

Copy link
Copy Markdown
Member

Before the doctests were added, doing python setup.py -t astropy/path/to/test_file.py would just run that one file. But now it runs that file and all the doctests. So this PR changes it to only run the file and not the doctests. It's pretty straightforward, but I figured I should check with @mdboom : the current behavior isn't intentional, is it?

@mdboom

mdboom commented Jan 28, 2014

Copy link
Copy Markdown
Contributor

That's just an oversight. Your fix makes sense to me.

@astrofrog

Copy link
Copy Markdown
Member

👍

@eteq

eteq commented Jan 28, 2014

Copy link
Copy Markdown
Member Author

Alright, great - merging.

eteq added a commit that referenced this pull request Jan 28, 2014
don't run doctests when -t option given
@eteq
eteq merged commit 608b677 into astropy:master Jan 28, 2014
@embray

embray commented Jan 29, 2014

Copy link
Copy Markdown
Member

Looks good, thanks.

eteq added a commit that referenced this pull request Feb 12, 2014
don't run doctests when -t option given
Conflicts:

	astropy/tests/helper.py
eteq added a commit that referenced this pull request Feb 12, 2014
don't run doctests when -t option given
Conflicts:

	astropy/tests/helper.py
eteq added a commit that referenced this pull request Feb 14, 2014
don't run doctests when -t option given
Conflicts:

	astropy/tests/helper.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Affects-dev PRs and issues that do not impact an existing Astropy release Docs testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants