summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-05-26 00:16:15 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-05-26 00:16:15 (GMT)
commitfea7ab184a94895a4e1d9063c025e5f56f5455cb (patch)
tree818cb7e587b27bb336a9f342e014c4dabab3f3e2 /src/engine
parent2d3790bf556491de48e66c37fff5195c4839c48b (diff)
downloadSCons-fea7ab184a94895a4e1d9063c025e5f56f5455cb.zip
SCons-fea7ab184a94895a4e1d9063c025e5f56f5455cb.tar.gz
SCons-fea7ab184a94895a4e1d9063c025e5f56f5455cb.tar.bz2
Improve error messages when test fail
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/SCons/ActionTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/ActionTests.py b/src/engine/SCons/ActionTests.py
index e437c51..bf459ec 100644
--- a/src/engine/SCons/ActionTests.py
+++ b/src/engine/SCons/ActionTests.py
@@ -1448,11 +1448,11 @@ class CommandGeneratorActionTestCase(unittest.TestCase):
a = self.factory(f_global)
c = a.get_contents(target=[], source=[], env=env)
- assert c in func_matches, "Got\n"+repr(c)+"\nExpected on of \n"+"\n".join([repr(f) for f in func_matches])
+ assert c in func_matches, "Got\n"+repr(c)+"\nExpected one of \n"+"\n".join([repr(f) for f in func_matches])
a = self.factory(f_local)
c = a.get_contents(target=[], source=[], env=env)
- assert c in func_matches, repr(c)
+ assert c in func_matches, "Got\n"+repr(c)+"\nExpected one of \n"+"\n".join([repr(f) for f in func_matches])
def f_global(target, source, env, for_signature):
return SCons.Action.Action(GlobalFunc, varlist=['XYZ'])