[Checkins] SVN: zope.server/trunk/ Fix syntax error in tests on Python < 2.6

Gediminas Paulauskas menesis at pov.lt
Fri May 20 04:56:30 EDT 2011


Log message for revision 121763:
  Fix syntax error in tests on Python < 2.6
  

Changed:
  U   zope.server/trunk/CHANGES.txt
  U   zope.server/trunk/src/zope/server/http/tests/test_wsgiserver.py

-=-
Modified: zope.server/trunk/CHANGES.txt
===================================================================
--- zope.server/trunk/CHANGES.txt	2011-05-19 17:24:19 UTC (rev 121762)
+++ zope.server/trunk/CHANGES.txt	2011-05-20 08:56:29 UTC (rev 121763)
@@ -2,10 +2,10 @@
 CHANGES
 =======
 
-Unreleased
------------
+3.8.4 (unreleased)
+------------------
 
-- TBD
+- Fix syntax error in tests on Python < 2.6.
 
 
 3.8.3 (2011-05-18)

Modified: zope.server/trunk/src/zope/server/http/tests/test_wsgiserver.py
===================================================================
--- zope.server/trunk/src/zope/server/http/tests/test_wsgiserver.py	2011-05-19 17:24:19 UTC (rev 121762)
+++ zope.server/trunk/src/zope/server/http/tests/test_wsgiserver.py	2011-05-20 08:56:29 UTC (rev 121763)
@@ -335,7 +335,7 @@
         def app(environ, start_response):
             try:
                 raise DummyException()
-            except DummyException as e:
+            except DummyException:
                 start_response(
                     '500 Internal Error',
                     [('Content-type', 'text/plain')],



More information about the checkins mailing list