[Python-modules-commits] [pygments] 01/01: Stop setting PYTHONWARNINGS=d when running the autopkgtests.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Mon Jan 25 15:21:30 UTC 2016


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

mitya57 pushed a commit to branch master
in repository pygments.

commit 716bb8a775789b39187f01a5d9413a040eda3f9f
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Mon Jan 25 18:20:48 2016 +0300

    Stop setting PYTHONWARNINGS=d when running the autopkgtests.
    
    That breaks the cmdline test which checks that process stderr is empty.
---
 debian/changelog              | 2 ++
 debian/tests/python-pygments  | 2 +-
 debian/tests/python3-pygments | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f2a48b9..c621a57 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ pygments (2.1+dfsg-1) UNRELEASED; urgency=medium
   * New upstream release.
   * Drop CVE-2015-8557.patch, applied upstream.
   * Disable two tests that need example files, again.
+  * Stop setting PYTHONWARNINGS=d when running the autopkgtests, that
+    breaks the cmdline test which checks that process stderr is empty.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Mon, 25 Jan 2016 18:04:14 +0300
 
diff --git a/debian/tests/python-pygments b/debian/tests/python-pygments
index 42f1d4c..c5a3edd 100755
--- a/debian/tests/python-pygments
+++ b/debian/tests/python-pygments
@@ -7,5 +7,5 @@ cd "$ADTTMP/tests"
 rm test_examplefiles.py test_lexers_other.py
 
 for python in $(pyversions -i); do
-	PYTHONWARNINGS=d $python ./run.py --verbose 2>&1
+	$python ./run.py --verbose 2>&1
 done
diff --git a/debian/tests/python3-pygments b/debian/tests/python3-pygments
index 6bec4cd..c56db9a 100755
--- a/debian/tests/python3-pygments
+++ b/debian/tests/python3-pygments
@@ -7,5 +7,5 @@ cd "$ADTTMP/tests"
 rm test_examplefiles.py test_lexers_other.py
 
 for python in $(py3versions -i); do
-	PYTHONWARNINGS=d $python ./run.py --verbose 2>&1
+	$python ./run.py --verbose 2>&1
 done

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



More information about the Python-modules-commits mailing list