summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Sig/MD5Tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Sig/MD5Tests.py')
-rw-r--r--src/engine/SCons/Sig/MD5Tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/engine/SCons/Sig/MD5Tests.py b/src/engine/SCons/Sig/MD5Tests.py
index ecdb920..b5578b3 100644
--- a/src/engine/SCons/Sig/MD5Tests.py
+++ b/src/engine/SCons/Sig/MD5Tests.py
@@ -84,8 +84,7 @@ class MD5TestCase(unittest.TestCase):
try:
signature('string')
except AttributeError, e:
- # the error string should begin with "unable to fetch contents of 'string': "
- assert string.find(str(e), "unable to fetch contents of 'string':") == 0
+ assert string.find(str(e), "unable to fetch contents") == 0, str(e)
else:
raise AttributeError, "unexpected get_contents() attribute"