[Python-modules-commits] r29857 - in packages/sphinxcontrib-spelling/trunk/debian (3 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Tue Jul 22 18:40:24 UTC 2014


    Date: Tuesday, July 22, 2014 @ 18:40:23
  Author: eriol-guest
Revision: 29857

Switched to -m nose instead of calling nosetests{2,3}

Modified:
  packages/sphinxcontrib-spelling/trunk/debian/changelog
  packages/sphinxcontrib-spelling/trunk/debian/tests/unittests
  packages/sphinxcontrib-spelling/trunk/debian/tests/unittests3

Modified: packages/sphinxcontrib-spelling/trunk/debian/changelog
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/changelog	2014-07-22 18:19:05 UTC (rev 29856)
+++ packages/sphinxcontrib-spelling/trunk/debian/changelog	2014-07-22 18:40:23 UTC (rev 29857)
@@ -31,8 +31,9 @@
     - Added python3 to debhelper rule
   * debian/tests/control
     - Added stanza for Python3 testing
-  * debian/tests/unittests
+  * debian/tests/unittests{,3}
     - Updated tests path due to upstream change
+    - Switched to -m nose instead of calling nosetests{2,3}
   * debian/tests/unittests3
     - Added
   * debian/upstream/signing-key.asc
@@ -40,8 +41,9 @@
   * debian/watch
     - Switched download URL to HTTPS
     - Added pgpsigurlmangle option
+  * 
 
- -- Daniele Tricoli <eriol at mornie.org>  Tue, 22 Jul 2014 20:18:28 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Tue, 22 Jul 2014 20:39:37 +0200
 
 sphinxcontrib-spelling (1.4-1) unstable; urgency=low
 

Modified: packages/sphinxcontrib-spelling/trunk/debian/tests/unittests
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/tests/unittests	2014-07-22 18:19:05 UTC (rev 29856)
+++ packages/sphinxcontrib-spelling/trunk/debian/tests/unittests	2014-07-22 18:40:23 UTC (rev 29857)
@@ -3,12 +3,12 @@
 
 export PYTHONWARNINGS=d
 
-python_all="$(pyversions -rv 2>/dev/null)"
+python_all="$(pyversions -r 2>/dev/null)"
 
 cp -r sphinxcontrib/spelling/tests "$ADTTMP/"
 cd "$ADTTMP"
 
 for py in $python_all; do
-    echo "=== python$py ==="
-    nosetests-$py --verbose 2>&1
+    echo "=== $py ==="
+    $py -m nose --verbose 2>&1
 done

Modified: packages/sphinxcontrib-spelling/trunk/debian/tests/unittests3
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/tests/unittests3	2014-07-22 18:19:05 UTC (rev 29856)
+++ packages/sphinxcontrib-spelling/trunk/debian/tests/unittests3	2014-07-22 18:40:23 UTC (rev 29857)
@@ -3,12 +3,12 @@
 
 export PYTHONWARNINGS=d
 
-python_all="$(py3versions -rv 2>/dev/null)"
+python3_all="$(py3versions -r 2>/dev/null)"
 
 cp -r sphinxcontrib/spelling/tests "$ADTTMP/"
 cd "$ADTTMP"
 
-for py in $python_all; do
-    echo "=== python$py ==="
-    nosetests-$py --verbose 2>&1
+for py in $python3_all; do
+    echo "=== $py ==="
+    $py -m nose --verbose 2>&1
 done




More information about the Python-modules-commits mailing list