[py-svn] py-trunk commit f74d7c1b3e47: merge trunk

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Oct 27 22:24:24 CET 2009


# HG changeset patch -- Bitbucket.org
# Project py-trunk
# URL http://bitbucket.org/hpk42/py-trunk/overview/
# User Benjamin Peterson <benjamin at python.org>
# Date 1256678619 18000
# Node ID f74d7c1b3e478a4affff5923048402c1c8ded50c
# Parent 4c1168157b73f09eebe441f9011d217cf2b7c79b
# Parent acf745993e90a77c326d8a9d41a054dc8b2a61cd
merge trunk

--- a/_py/code/_assertionnew.py
+++ b/_py/code/_assertionnew.py
@@ -132,7 +132,7 @@ class DebugInterpreter(ast.NodeVisitor):
                 raise Failure()
             return None, None
         else:
-            raise AssertionError("can't handle {0}".format(node))
+            raise AssertionError("can't handle %s" %(node,))
 
     def _compile(self, source, mode="eval"):
         return compile(source, "<assertion interpretation>", mode)



More information about the pytest-commit mailing list