Skip to content
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

TST: cluster: some cleanups in test_hierarchy.py #3766

Merged
merged 1 commit into from
Jun 30, 2014
Merged

TST: cluster: some cleanups in test_hierarchy.py #3766

merged 1 commit into from
Jun 30, 2014

Conversation

cairijun
Copy link
Contributor

Use Nose's tests generator to merge some tests to reduce the file size and make it clearer.
Some tests are added. The test coverage of cluster.hierarchy increases from 59% to 72%.

@cairijun
Copy link
Contributor Author

Some new tests are skipped when matplotlib is unavailable so the coverage is different on Travis.

@charris
Copy link
Member

charris commented Jun 30, 2014

LGTM, but all the data text files are getting out of hand. Unless you intend to test file reading it would clean things up if you could put all that data into one place. I'll merge this as is and that cleanup, if made, can be another PR.

charris added a commit that referenced this pull request Jun 30, 2014
TST: cluster: some cleanups in test_hierarchy.py
@charris charris merged commit 97e93bd into scipy:master Jun 30, 2014
@charris
Copy link
Member

charris commented Jun 30, 2014

Thanks @richardtsai.

@rgommers rgommers added this to the 0.15.0 milestone Jun 30, 2014
@rgommers
Copy link
Member

Re text files: not even in one place, but delete and replace with Python code. First file in this PR is simply np.ones(30).

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

Successfully merging this pull request may close these issues.

3 participants