[Python-modules-commits] r21462 - in packages/python-docutils/trunk/debian/tests (2 files)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Mon Apr 30 19:55:00 UTC 2012
Date: Monday, April 30, 2012 @ 19:54:58
Author: jwilk
Revision: 21462
Don't run py(3)versions with PYTHONWARNINGS=d.
This allows us to not redirect its stderr to /dev/null.
Modified:
packages/python-docutils/trunk/debian/tests/python-docutils
packages/python-docutils/trunk/debian/tests/python3-docutils
Modified: packages/python-docutils/trunk/debian/tests/python-docutils
===================================================================
--- packages/python-docutils/trunk/debian/tests/python-docutils 2012-04-30 16:52:47 UTC (rev 21461)
+++ packages/python-docutils/trunk/debian/tests/python-docutils 2012-04-30 19:54:58 UTC (rev 21462)
@@ -4,10 +4,9 @@
cp -r test/* "$tmpdir"
cat debian/patches/dep8.diff | (cd "$tmpdir" && patch -p2)
cd "$tmpdir"
-export PYTHONWARNINGS=d
pyversions -i \
| tr ' ' '\n' \
-| xargs -I {} env {} \
+| xargs -I {} env PYTHONWARNINGS=d {} \
./alltests.py --verbose 2>&1
cd /
rm -rf "$tmpdir"
Modified: packages/python-docutils/trunk/debian/tests/python3-docutils
===================================================================
--- packages/python-docutils/trunk/debian/tests/python3-docutils 2012-04-30 16:52:47 UTC (rev 21461)
+++ packages/python-docutils/trunk/debian/tests/python3-docutils 2012-04-30 19:54:58 UTC (rev 21462)
@@ -6,10 +6,9 @@
cd "$tmpdir/lib/"
rm -rf docutils* roman* tools
cd test/
-export PYTHONWARNINGS=d
-py3versions -i 2>/dev/null \
+py3versions -i \
| tr ' ' '\n' \
-| xargs -I {} env {} \
+| xargs -I {} env PYTHONWARNINGS=d {} \
./alltests.py --verbose 2>&1
cd /
rm -rf "$tmpdir"
More information about the Python-modules-commits
mailing list