Closed wkerzendorf closed 10 years ago
gammafit
is package using the the package-template
and getting the error
-c: error: unrecognized arguments: --doctest-rst
when running
python setup.py test
https://github.com/zblz/gammafit/issues/13#issuecomment-40206020
@mdboom, @astrofrog Help?
You need a conftest.py
at the root of your project with the following content:
from astropy.tests.pytest_plugins import *
This is in the latest package_template.
Works ... thanks @mdboom!
Some change in astropy has cause this error (down in the log of https://travis-ci.org/tardis-sn/tardis/jobs/20567524). It can be avoided by
--skip-docs
. This is with the newest astropy but in a semi-affiliated package.