[Python-modules-commits] r31412 - in packages/pygments/trunk/debian (5 files)

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Thu Nov 6 11:53:19 UTC 2014


    Date: Thursday, November 6, 2014 @ 11:53:18
  Author: mitya57-guest
Revision: 31412

* Drop disable_example_files_test.patch, no longer needed.
* Enable verbose tests output.

Modified:
  packages/pygments/trunk/debian/changelog
  packages/pygments/trunk/debian/tests/control
  packages/pygments/trunk/debian/tests/python-pygments
  packages/pygments/trunk/debian/tests/python3-pygments
Deleted:
  packages/pygments/trunk/debian/patches/disable_example_files_test.patch

Modified: packages/pygments/trunk/debian/changelog
===================================================================
--- packages/pygments/trunk/debian/changelog	2014-11-06 11:10:48 UTC (rev 31411)
+++ packages/pygments/trunk/debian/changelog	2014-11-06 11:53:18 UTC (rev 31412)
@@ -1,3 +1,10 @@
+pygments (2.0~rc1.a2bc2bd+dfsg-2) UNRELEASED; urgency=medium
+
+  * Drop disable_example_files_test.patch, no longer needed.
+  * Enable verbose tests output.
+
+ -- Dmitry Shachnev <mitya57 at debian.org>  Thu, 06 Nov 2014 14:49:27 +0300
+
 pygments (2.0~rc1.a2bc2bd+dfsg-1) unstable; urgency=medium
 
   [ Jakub Wilk ]

Deleted: packages/pygments/trunk/debian/patches/disable_example_files_test.patch
===================================================================
--- packages/pygments/trunk/debian/patches/disable_example_files_test.patch	2014-11-06 11:10:48 UTC (rev 31411)
+++ packages/pygments/trunk/debian/patches/disable_example_files_test.patch	2014-11-06 11:53:18 UTC (rev 31412)
@@ -1,20 +0,0 @@
-=== modified file 'tests/test_examplefiles.py'
---- a/tests/test_examplefiles.py	2012-03-11 18:22:42 +0000
-+++ b/tests/test_examplefiles.py	2012-11-12 07:18:38 +0000
-@@ -8,6 +8,7 @@
- """
- 
- import os
-+import nose
- import pprint
- import difflib
- import cPickle as pickle
-@@ -19,6 +20,7 @@
- STORE_OUTPUT = False
- 
- # generate methods
-+ at nose.SkipTest
- def test_example_files():
-     testdir = os.path.dirname(__file__)
-     outdir = os.path.join(testdir, 'examplefiles', 'output')
-

Modified: packages/pygments/trunk/debian/tests/control
===================================================================
--- packages/pygments/trunk/debian/tests/control	2014-11-06 11:10:48 UTC (rev 31411)
+++ packages/pygments/trunk/debian/tests/control	2014-11-06 11:53:18 UTC (rev 31412)
@@ -1,5 +1,5 @@
 Tests: python-pygments
-Depends: patch, python-all, python-pygments, python-nose
+Depends: python-all, python-pygments, python-nose
 
 Tests: python3-pygments
-Depends: patch, python3-all, python3-pygments, python3-nose
+Depends: python3-all, python3-pygments, python3-nose

Modified: packages/pygments/trunk/debian/tests/python-pygments
===================================================================
--- packages/pygments/trunk/debian/tests/python-pygments	2014-11-06 11:10:48 UTC (rev 31411)
+++ packages/pygments/trunk/debian/tests/python-pygments	2014-11-06 11:53:18 UTC (rev 31412)
@@ -3,9 +3,8 @@
 set -eu
 
 cp -r tests "$ADTTMP"
-cat debian/patches/disable_example_files_test.patch | (cd "$ADTTMP/tests" && patch -p2)
 cd "$ADTTMP/tests"
 
 for python in $(pyversions -i); do
-	PYTHONWARNINGS=d $python ./run.py 2>&1
+	PYTHONWARNINGS=d $python ./run.py --verbose 2>&1
 done

Modified: packages/pygments/trunk/debian/tests/python3-pygments
===================================================================
--- packages/pygments/trunk/debian/tests/python3-pygments	2014-11-06 11:10:48 UTC (rev 31411)
+++ packages/pygments/trunk/debian/tests/python3-pygments	2014-11-06 11:53:18 UTC (rev 31412)
@@ -3,9 +3,8 @@
 set -eu
 
 cp -r tests "$ADTTMP"
-cat debian/patches/disable_example_files_test.patch | (cd "$ADTTMP/tests" && patch -p2)
 cd "$ADTTMP/tests"
 
 for python in $(py3versions -i); do
-	PYTHONWARNINGS=d $python ./run.py 2>&1
+	PYTHONWARNINGS=d $python ./run.py --verbose 2>&1
 done




More information about the Python-modules-commits mailing list