summaryrefslogtreecommitdiffstats
path: root/test/exitfns.py
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2010-04-15 19:21:08 (GMT)
committerGreg Noel <GregNoel@tigris.org>2010-04-15 19:21:08 (GMT)
commitc06950cad4c02ba6b759c1cbd65cfb52ab6868c3 (patch)
treea3e265178b5b9c6d717d657133c3085747287751 /test/exitfns.py
parentd58dff5877e75c3c7813045a075e50b23ecb1dfd (diff)
downloadSCons-c06950cad4c02ba6b759c1cbd65cfb52ab6868c3.zip
SCons-c06950cad4c02ba6b759c1cbd65cfb52ab6868c3.tar.gz
SCons-c06950cad4c02ba6b759c1cbd65cfb52ab6868c3.tar.bz2
http://scons.tigris.org/issues/show_bug.cgi?id=2345
Fixes due to running the regression tests with the '-3' option to Python2.6, which causes the run-time to look for potential compatibility problems with Python 3.x. In some cases, all we can do is quiet the warning since we still support Python versions that can't use the newer idiom. In other cases, we fix the problem. This patch contains a mix of quieting and fixing, plus a little lint.
Diffstat (limited to 'test/exitfns.py')
-rw-r--r--test/exitfns.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/exitfns.py b/test/exitfns.py
index 3fc1322..f64969b 100644
--- a/test/exitfns.py
+++ b/test/exitfns.py
@@ -34,9 +34,9 @@ from SCons.exitfuncs import *
def x1():
print "running x1"
def x2(n):
- print "running x2(%s)" % `n`
+ print "running x2(%s)" % repr(n)
def x3(n, kwd=None):
- print "running x3(%s, kwd=%s)" % (`n`, `kwd`)
+ print "running x3(%s, kwd=%s)" % (repr(n), repr(kwd))
register(x3, "no kwd args")
register(x1)