[Python-modules-commits] r28324 - in packages/guessit/trunk/debian/tests (unittests unittests3)

emillon-guest at users.alioth.debian.org emillon-guest at users.alioth.debian.org
Tue Mar 25 09:08:38 UTC 2014


    Date: Tuesday, March 25, 2014 @ 09:08:37
  Author: emillon-guest
Revision: 28324

guessit: fix ADT tests

Modified:
  packages/guessit/trunk/debian/tests/unittests
  packages/guessit/trunk/debian/tests/unittests3

Modified: packages/guessit/trunk/debian/tests/unittests
===================================================================
--- packages/guessit/trunk/debian/tests/unittests	2014-03-25 08:43:21 UTC (rev 28323)
+++ packages/guessit/trunk/debian/tests/unittests	2014-03-25 09:08:37 UTC (rev 28324)
@@ -1,9 +1,9 @@
 #!/bin/sh
+set -ex
+pys="$(pyversions -r)"
 
-set -x
-pys="$(pyversions -rv 2>/dev/null)"
-
 cd "$ADTTMP"
 for py in $pys; do
-   nosetests-$py guessit.test 2>&1
+    echo "=== $py ==="
+    $py -m guessit.test
 done

Modified: packages/guessit/trunk/debian/tests/unittests3
===================================================================
--- packages/guessit/trunk/debian/tests/unittests3	2014-03-25 08:43:21 UTC (rev 28323)
+++ packages/guessit/trunk/debian/tests/unittests3	2014-03-25 09:08:37 UTC (rev 28324)
@@ -1,11 +1,9 @@
 #!/bin/sh
-set -efu
+set -ex
+pys="$(py3versions -r)"
 
-pys="$(py3versions -r 2> /dev/null)"
-
 cd "$ADTTMP"
-
 for py in $pys; do
-	echo "=== $py ==="
-	$py -m nose guessit.test 2>&1
+    echo "=== $py ==="
+    $py -m guessit.test
 done




More information about the Python-modules-commits mailing list