[Debian-astro-commits] [python-astropy] 08/10: Disable doctests

Ole Streicher olebole at moszumanska.debian.org
Thu Jan 12 12:16:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

olebole pushed a commit to branch debian
in repository python-astropy.

commit 913f5d964dbfbf2cd415c77094ae8dc468d58c82
Author: Ole Streicher <olebole at debian.org>
Date:   Thu Jan 12 12:13:21 2017 +0100

    Disable doctests
    
    They currently do not work with pytest 3.0.5
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index df33b64..62da450 100755
--- a/debian/rules
+++ b/debian/rules
@@ -53,7 +53,7 @@ override_dh_auto_clean:
 
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 test-python%:
-	python$* setup.py test -vv --args -vv
+	python$* setup.py test --skip-docs -vv --args -vv
 
 override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
 endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/python-astropy.git



More information about the Debian-astro-commits mailing list