[Python-modules-commits] r24491 - in packages/cssutils/trunk/debian (4 files)

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Wed May 22 17:46:02 UTC 2013


    Date: Wednesday, May 22, 2013 @ 17:46:00
  Author: mitya57-guest
Revision: 24491

Disable one more test in 02_disable_wrong_tests.patch

Added:
  packages/cssutils/trunk/debian/patches/02_disable_wrong_tests.patch
    (from rev 24490, packages/cssutils/trunk/debian/patches/02_disable_wrong_test.patch)
Modified:
  packages/cssutils/trunk/debian/changelog
  packages/cssutils/trunk/debian/patches/series
Deleted:
  packages/cssutils/trunk/debian/patches/02_disable_wrong_test.patch

Modified: packages/cssutils/trunk/debian/changelog
===================================================================
--- packages/cssutils/trunk/debian/changelog	2013-05-22 16:50:42 UTC (rev 24490)
+++ packages/cssutils/trunk/debian/changelog	2013-05-22 17:46:00 UTC (rev 24491)
@@ -5,7 +5,8 @@
   [ Dmitry Shachnev ]
   * Use /usr/bin/nosetests3 instead of /usr/bin/nosetests-3.X (closes:
     #707529).
-  * Disable the wrong part of encutils.getMetaInfo test (closes: #686340).
+  * Disable two tests that currently make the package fail to build
+    (closes: #686340).
 
   [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.

Deleted: packages/cssutils/trunk/debian/patches/02_disable_wrong_test.patch
===================================================================
--- packages/cssutils/trunk/debian/patches/02_disable_wrong_test.patch	2013-05-22 16:50:42 UTC (rev 24490)
+++ packages/cssutils/trunk/debian/patches/02_disable_wrong_test.patch	2013-05-22 17:46:00 UTC (rev 24491)
@@ -1,20 +0,0 @@
-Description: disable wrong test that caused the package to FTBFS
-Origin: upstream, https://bitbucket.org/cthedot/cssutils/commits/153f6254f3/
-Bug-Debian: http://bugs.debian.org/686340
-Last-Update: 2013-05-19
-
---- a/src/tests/test_encutils/__init__.py
-+++ b/src/tests/test_encutils/__init__.py
-@@ -153,9 +153,9 @@
-             """<meta content="text/html;charset=ascii" http-equiv="cONTENT-type">
-                 </ >""":
-                 ('text/html', 'ascii'),
--            """</ >
--                <meta content="text/html;charset=ascii" http-equiv="cONTENT-type">""":
--                (None, None),
-+#           """</ >
-+#               <meta content="text/html;charset=ascii" http-equiv="cONTENT-type">""":
-+#               (None, None),
-             """<meta content="text/html" http-equiv="cONTENT-type">
-                 </ >
-                 <meta content="text/html;charset=ascii" http-equiv="cONTENT-type">""":

Copied: packages/cssutils/trunk/debian/patches/02_disable_wrong_tests.patch (from rev 24490, packages/cssutils/trunk/debian/patches/02_disable_wrong_test.patch)
===================================================================
--- packages/cssutils/trunk/debian/patches/02_disable_wrong_tests.patch	                        (rev 0)
+++ packages/cssutils/trunk/debian/patches/02_disable_wrong_tests.patch	2013-05-22 17:46:00 UTC (rev 24491)
@@ -0,0 +1,35 @@
+Description: disable two tests that caused the package to FTBFS
+ First one is wrong and already removed upstream:
+ https://bitbucket.org/cthedot/cssutils/commits/153f6254f3/
+ .
+ Another one is sometimes failing with hash randomization enabled,
+ see https://bitbucket.org/cthedot/cssutils/issue/30/
+Bug-Debian: http://bugs.debian.org/686340
+Last-Update: 2013-05-19
+
+--- a/src/tests/test_cssstylesheet.py
++++ b/src/tests/test_cssstylesheet.py
+@@ -333,7 +333,7 @@
+         self.assertEquals('example', s.namespaces['ex2'])
+         self.assertRaises(xml.dom.NamespaceErr, s.namespaces.__getitem__, 'UNSET')
+         # __iter__
+-        self.assertEquals(['', 'ex2'], list(s.namespaces))
++        #self.assertEquals(['', 'ex2'], list(s.namespaces))
+         # __len__
+         self.assertEqual(2, len(s.namespaces))
+         # __setitem__
+--- a/src/tests/test_encutils/__init__.py
++++ b/src/tests/test_encutils/__init__.py
+@@ -153,9 +153,9 @@
+             """<meta content="text/html;charset=ascii" http-equiv="cONTENT-type">
+                 </ >""":
+                 ('text/html', 'ascii'),
+-            """</ >
+-                <meta content="text/html;charset=ascii" http-equiv="cONTENT-type">""":
+-                (None, None),
++#           """</ >
++#               <meta content="text/html;charset=ascii" http-equiv="cONTENT-type">""":
++#               (None, None),
+             """<meta content="text/html" http-equiv="cONTENT-type">
+                 </ >
+                 <meta content="text/html;charset=ascii" http-equiv="cONTENT-type">""":

Modified: packages/cssutils/trunk/debian/patches/series
===================================================================
--- packages/cssutils/trunk/debian/patches/series	2013-05-22 16:50:42 UTC (rev 24490)
+++ packages/cssutils/trunk/debian/patches/series	2013-05-22 17:46:00 UTC (rev 24491)
@@ -1,2 +1,2 @@
 01_setup_fix.patch
-02_disable_wrong_test.patch
+02_disable_wrong_tests.patch




More information about the Python-modules-commits mailing list