From: Andreas Tille Date: Mon, 25 Sep 2017 17:37:54 +0000 (+0200) Subject: Use pytest instead of nosetest X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1~1^2^2~165 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=578c0e78fc766d491e630483bfcb344319d50aea;p=python-pysam.git Use pytest instead of nosetest --- diff --git a/debian/changelog b/debian/changelog index 9d290ad..7384202 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ python-pysam (0.12.0.1+ds-1) UNRELEASED; urgency=medium * Standards-Version: 4.1.0 (no changes needed) * Apply upstream patch to fix test suite Closes: #871083, #834856 + * Use pytest instead of nosetest [ Afif Elghraoui ] * New upstream version diff --git a/debian/control b/debian/control index 020b1ec..deba46e 100644 --- a/debian/control +++ b/debian/control @@ -22,8 +22,8 @@ Build-Depends: tabix, samtools (>= 1.5), bcftools (>= 1.5), - python-nose, - python3-nose, + python-pytest, + python3-pytest, Standards-Version: 4.1.0 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/python-pysam.git Vcs-Git: https://anonscm.debian.org/git/debian-med/python-pysam.git diff --git a/debian/rules b/debian/rules index d062880..39aeb3f 100755 --- a/debian/rules +++ b/debian/rules @@ -15,17 +15,6 @@ HTSLIBDIR := /usr/lib/$(DEB_HOST_MULTIARCH) export HTSLIB_LIBRARY_DIR=$(HTSLIBDIR) export HTSLIB_INCLUDE_DIR=/usr/include -export PYBUILD_TEST_NOSE=1 -# pybuild calls nosetests as `python{version} -m nose tests` -# -# The "tests" argument (passed by pybuild as shown above) fails, -# so don't pass anything: -export PYBUILD_TEST_ARGS= -# This is how we pass parameters to nose without command-line flags -export NOSE_WHERE=$(CURDIR)/tests -export NOSE_VERBOSE=2 -export NOSE_NOCAPTURE=1 - # DEB_BUILD_OPTIONS := nocheck clean: clean-tests