summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/ExecutorTests.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-10-23 17:50:16 (GMT)
committerSteven Knight <knight@baldmt.com>2004-10-23 17:50:16 (GMT)
commit8fc56d4098128552043f581cb50074426a149959 (patch)
treedc5de415bf5a9f270274885304e179920e8df90a /src/engine/SCons/ExecutorTests.py
parent01018a94b70c997110057fe752d7135489a28f39 (diff)
downloadSCons-8fc56d4098128552043f581cb50074426a149959.zip
SCons-8fc56d4098128552043f581cb50074426a149959.tar.gz
SCons-8fc56d4098128552043f581cb50074426a149959.tar.bz2
Fix ExecutorTests under Python 2.x, where str() throws a TypeError if the returned value is not a string.
Diffstat (limited to 'src/engine/SCons/ExecutorTests.py')
-rw-r--r--src/engine/SCons/ExecutorTests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/ExecutorTests.py b/src/engine/SCons/ExecutorTests.py
index d52853c..dc98818 100644
--- a/src/engine/SCons/ExecutorTests.py
+++ b/src/engine/SCons/ExecutorTests.py
@@ -237,7 +237,7 @@ class ExecutorTestCase(unittest.TestCase):
x(MyNode([], []), None)
assert result == [], result
s = str(x)
- assert s == None, s
+ assert s == '', s
s = x.strfunction()
assert s == None, s