diff tests/test-check-code @ 11343:f325db39c8b9

check-code: catch format(), introduced in Python 2.6
author Martin Geisler <mg@aragost.com>
date Tue, 15 Jun 2010 09:55:59 +0200
parents 920a783e5f91
children 0cae834cdc80
line wrap: on
line diff
--- a/tests/test-check-code	Tue Jun 15 09:53:50 2010 +0200
+++ b/tests/test-check-code	Tue Jun 15 09:55:59 2010 +0200
@@ -26,6 +26,7 @@
 # Using builtins that does not exist in Python 2.4
 if any():
     x = all()
+    y = format(x)
 
 # Do not complain about our own definition
 def any(x):