summaryrefslogtreecommitdiffstats
path: root/QMTest/TestCommon.py
diff options
context:
space:
mode:
authorWilliam Blevins <wblevins001@gmail.com>2016-09-20 20:07:30 (GMT)
committerWilliam Blevins <wblevins001@gmail.com>2016-09-20 20:07:30 (GMT)
commit0e2a4161264e7bac8368b8132b368796c880e30e (patch)
tree03ded12777f86fbdae061bdc4199cabe766db2d6 /QMTest/TestCommon.py
parent226c34a47471c5c27bc9a0c262edd62d713acc81 (diff)
downloadSCons-0e2a4161264e7bac8368b8132b368796c880e30e.zip
SCons-0e2a4161264e7bac8368b8132b368796c880e30e.tar.gz
SCons-0e2a4161264e7bac8368b8132b368796c880e30e.tar.bz2
Fixing QMTest str and bytes issues.
Diffstat (limited to 'QMTest/TestCommon.py')
-rw-r--r--QMTest/TestCommon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/QMTest/TestCommon.py b/QMTest/TestCommon.py
index f878636..9093cc9 100644
--- a/QMTest/TestCommon.py
+++ b/QMTest/TestCommon.py
@@ -479,7 +479,7 @@ class TestCommon(TestCmd):
if not match:
match = self.match
try:
- self.fail_test(not match(file_contents, expect))
+ self.fail_test(not match(to_str(file_contents), to_str(expect)))
except KeyboardInterrupt:
raise
except: