-
-
Notifications
You must be signed in to change notification settings - Fork 394
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
Used @attr(optional=1) and SkipTest to skip non-core tests #1461
Conversation
@philippjfr I think this PR is ready for review. Alternatively, if you have fixes for the above issues I am happy to rebase this PR if they are merged into master. |
@philippjfr As long as you are happy with me inlining the imports in comms.py, I think it is actually ready to merge this time (once the tests are green). |
I removed the optional test filter on Travis which prompted me to remove the SHA tests: I also update the size tuples for the matplotlib tests. Unfortunately the sizes reported on travis don't quite match the ones generated on my laptop. |
e9569b8
to
f84fbd1
Compare
Tests are now green. Ready to merge. |
Great, thanks for doing this. Looks good to me, merging. |
This PR aims to address issue #1420. It was more work than expected!
Tests no longer error if you install only core holoviews (i.e param and numpy) as installed with:
And run
nosetests -a '!optional'
There is one exception though, you get this failure if pandas isn't installed:
Note that I also added a fix to
unique_array
in this PR.Oddly, I get three failures with matplotlib when pandas is missing, but only when installing using
conda install -c ioam holoviews
(pip + matplotlib without pandas seems fine!):There is also the odd issue about '#008000' != u'green' in Bokeh (#1460) but I'm ignoring that.