[orca] Remove another python2ism from the test harness



commit b344a1279c3cad33a24e9ca02f4c94dbd8f0b809
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Dec 6 20:24:06 2013 +0100

    Remove another python2ism from the test harness

 test/harness/utils.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/test/harness/utils.py b/test/harness/utils.py
index 821e4d3..0f0de24 100644
--- a/test/harness/utils.py
+++ b/test/harness/utils.py
@@ -129,10 +129,8 @@ def assertListEquality(rawOrcaResults, expectedList):
         if results[i] == expectedList[i]:
             continue
         else:
-            expectedResultRE = re.compile(expectedList[i].decode("UTF-8",
-                                                                 "replace"))
-            if expectedResultRE.match(results[i].decode("UTF-8",
-                                                        "replace")):
+            expectedResultRE = re.compile(expectedList[i])
+            if expectedResultRE.match(results[i]):
                 continue
             else:
                 return results


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]