[Python-modules-commits] [sparqlwrapper] 10/11: Drop pybuild nosetests workarounds
chrysn
chrysn-guest at moszumanska.debian.org
Wed Nov 16 11:11:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
chrysn-guest pushed a commit to branch master
in repository sparqlwrapper.
commit 8b3c26452cbe94d94cdf59a4ae5bc3586e955ff9
Author: chrysn <chrysn at fsfe.org>
Date: Tue Nov 8 16:10:20 2016 +0100
Drop pybuild nosetests workarounds
Recent pybuild runs nosetests on its own in the proper directories.
After the change, as many tests as before (21/21 for py2/3) are run.
---
debian/rules | 8 --------
1 file changed, 8 deletions(-)
diff --git a/debian/rules b/debian/rules
index 247f240..786dc05 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,15 +15,7 @@ export PYBUILD_BEFORE_INSTALL=rm -fr {build_dir}/test
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_test:
- PYBUILD_DISABLE_python3=test \
- PYBUILD_SYSTEM=custom \
- PYBUILD_TEST_ARGS="cd {build_dir} && nosetests" \
- dh_auto_test --buildsystem=pybuild
-
# sed command is a custom hack that's also present in upstream's run_tests_py3.sh script
PYBUILD_BEFORE_TEST_python3='cp -r {dir}/test {build_dir}; 2to3 -w {build_dir}/test; sed -i.sedbak -e "s/urllib2._opener/urllib.request._opener/g" {build_dir}/test/wrapper_test.py' \
PYBUILD_AFTER_TEST='rm -rf {build_dir}/test' \
- PYBUILD_DISABLE_python2=test \
- PYBUILD_SYSTEM=custom \
- PYBUILD_TEST_ARGS="cd {build_dir} && nosetests3" \
dh_auto_test --buildsystem=pybuild
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sparqlwrapper.git
More information about the Python-modules-commits
mailing list