[Python-modules-commits] [python-attrs] 08/13: Fix tests.

Tristan Seligmann mithrandi at moszumanska.debian.org
Tue Jan 23 13:09:36 UTC 2018


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

mithrandi pushed a commit to tag debian/17.4.0-1
in repository python-attrs.

commit 81f6e00b0efc10ea9c43b98c96bd89ec1cca3167
Author: Tristan Seligmann <mithrandi at mithrandi.net>
Date:   Tue Jan 23 14:09:04 2018 +0200

    Fix tests.
---
 debian/rules | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 6819b37..d099720 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 
 export PYBUILD_NAME=attr
 export PYBUILD_DISABLE=test/pypy
+export PYBUILD_BEFORE_TEST=cp conftest.py {build_dir}
+export PYBUILD_AFTER_TEST=rm -r {build_dir}/.hypothesis
 
 %:
 	dh $@ --with python2,python3,pypy,sphinxdoc --buildsystem=pybuild
@@ -13,9 +15,5 @@ override_dh_auto_build:
 	   https_proxy='127.0.0.1:9' \
 	   sphinx-build -N -b html docs/ $(CURDIR)/.pybuild/docs/html/
 
-override_dh_auto_test:
-	dh_auto_test
-	rm -r .pybuild/*/build/.hypothesis
-
 override_dh_compress:
 	dh_compress -Xchangelog.html

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



More information about the Python-modules-commits mailing list