[python-dtcwt] 04/07: d/{control, tests/*}: replace dependency on nose with pytest.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Mar 10 14:41:44 UTC 2016


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

ghisvail-guest pushed a commit to branch debian/master
in repository python-dtcwt.

commit b507b807ce1f1fd3272de0606112a03b36d8889e
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Mar 9 12:11:48 2016 +0000

    d/{control,tests/*}: replace dependency on nose with pytest.
---
 debian/control       | 4 ++--
 debian/tests/control | 4 ++--
 debian/tests/python2 | 2 +-
 debian/tests/python3 | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 2e6cd6f..b8e4dd2 100644
--- a/debian/control
+++ b/debian/control
@@ -9,15 +9,15 @@ Build-Depends: debhelper (>= 9),
                python-all,
                python-coverage,
                python-matplotlib,
-               python-nose,
                python-numpy,
+               python-pytest,
                python-setuptools,
                python-six,
                python-sphinx (>= 1.0.7+dfsg-1~),
                python3-all,
                python3-coverage,
-               python3-nose,
                python3-numpy,
+               python3-pytest,
                python3-setuptools,
                python3-six
 Standards-Version: 3.9.7
diff --git a/debian/tests/control b/debian/tests/control
index 670abf8..4c7a737 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,9 +1,9 @@
 Tests: python2
 Depends: python-all,
          python-dtcwt,
-         python-nose
+         python-pytest
 
 Tests: python3
 Depends: python3-all,
          python3-dtcwt,
-         python3-nose
+         python3-pytest
diff --git a/debian/tests/python2 b/debian/tests/python2
index fb712ff..4b0f8a4 100755
--- a/debian/tests/python2
+++ b/debian/tests/python2
@@ -8,5 +8,5 @@ cd "$ADTTMP"
 
 for py in $pys; do
 	echo "=== $py ==="
-	$py -m nose tests  2>&1
+	$py -m pytest tests 2>&1
 done
diff --git a/debian/tests/python3 b/debian/tests/python3
index 68fe45e..60b3055 100755
--- a/debian/tests/python3
+++ b/debian/tests/python3
@@ -8,5 +8,5 @@ cd "$ADTTMP"
 
 for py in $pys; do
 	echo "=== $py ==="
-	$py -m nose tests  2>&1
+	$py -m pytest tests 2>&1
 done

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



More information about the debian-science-commits mailing list