r2942 - in zope.testing/trunk/debian (4 files)

barry at users.alioth.debian.org barry at users.alioth.debian.org
Tue Jun 23 00:21:52 UTC 2015


    Date: Tuesday, June 23, 2015 @ 00:21:51
  Author: barry
Revision: 2942

d/patches/lp1467644.patch: Added for Python 3.5 compatibility.

Added:
  zope.testing/trunk/debian/patches/
  zope.testing/trunk/debian/patches/lp1467644.patch
  zope.testing/trunk/debian/patches/series
Modified:
  zope.testing/trunk/debian/changelog

Modified: zope.testing/trunk/debian/changelog
===================================================================
--- zope.testing/trunk/debian/changelog	2015-06-22 16:09:09 UTC (rev 2941)
+++ zope.testing/trunk/debian/changelog	2015-06-23 00:21:51 UTC (rev 2942)
@@ -1,3 +1,9 @@
+zope.testing (4.2.0-2) UNRELEASED; urgency=medium
+
+  * d/patches/lp1467644.patch: Added for Python 3.5 compatibility.
+
+ -- Barry Warsaw <barry at debian.org>  Mon, 22 Jun 2015 19:21:35 -0400
+
 zope.testing (4.2.0-1) unstable; urgency=medium
 
   * New upstream release.

Added: zope.testing/trunk/debian/patches/lp1467644.patch
===================================================================
--- zope.testing/trunk/debian/patches/lp1467644.patch	                        (rev 0)
+++ zope.testing/trunk/debian/patches/lp1467644.patch	2015-06-23 00:21:51 UTC (rev 2942)
@@ -0,0 +1,22 @@
+Description: Add a renormalizing pattern for Python 3.5.
+Origin: https://github.com/zopefoundation/zope.testing/pull/3/files
+Author: Barry Warsaw <barry at debian.org>
+Bug: https://bugs.launchpad.net/zope.testing/+bug/1467644
+
+diff --git a/src/zope/testing/tests.py b/src/zope/testing/tests.py
+index 6bf9153..9c0c4e4 100644
+--- a/src/zope/testing/tests.py
++++ b/src/zope/testing/tests.py
+@@ -40,8 +40,12 @@ def test_suite():
+         doctest.DocFileSuite(
+             'wait.txt', setUp=setUp,
+             checker=renormalizing.RENormalizing([
++                # For Python 3.4.
+                 (re.compile('zope.testing.wait.TimeOutWaitingFor: '),
+                  'TimeOutWaitingFor: '),
++                # For Python 3.5
++                (re.compile('zope.testing.wait.Wait.TimeOutWaitingFor: '),
++                 'TimeOutWaitingFor: '),
+                 ])
+             ),
+         ))

Added: zope.testing/trunk/debian/patches/series
===================================================================
--- zope.testing/trunk/debian/patches/series	                        (rev 0)
+++ zope.testing/trunk/debian/patches/series	2015-06-23 00:21:51 UTC (rev 2942)
@@ -0,0 +1 @@
+lp1467644.patch




More information about the pkg-zope-developers mailing list