These are chat archives for astropy/astropy

5th
Jun 2014
Wolfgang Kerzendorf
@wkerzendorf
Jun 05 2014 17:18
Is there an ETA for astropy 0.3.2 on macports?
Christoph Deil
@cdeil
Jun 05 2014 20:27
The standard way to skip tests that require optional dependencies is to look for ImportError: http://docs.astropy.org/en/latest/development/testguide.html#tests-requiring-optional-dependencies
I have a case where the import throws a RuntimeError because the optional dependency package is broken.
Wouldn't it be better to check for any Exception on import when deciding which tests to skip?