diff options
-rw-r--r-- | meta/lib/oeqa/core/runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/core/runner.py b/meta/lib/oeqa/core/runner.py index 7035adfaae..df88b85f1c 100644 --- a/meta/lib/oeqa/core/runner.py +++ b/meta/lib/oeqa/core/runner.py | |||
@@ -93,13 +93,13 @@ class OETestResult(_TestResult): | |||
93 | 93 | ||
94 | # When fails at module or class level the class name is passed as string | 94 | # When fails at module or class level the class name is passed as string |
95 | # so figure out to see if match | 95 | # so figure out to see if match |
96 | m = re.search("^setUpModule \((?P<module_name>.*)\)$", scase_str) | 96 | m = re.search(r"^setUpModule \((?P<module_name>.*)\)$", scase_str) |
97 | if m: | 97 | if m: |
98 | if case.__class__.__module__ == m.group('module_name'): | 98 | if case.__class__.__module__ == m.group('module_name'): |
99 | found = True | 99 | found = True |
100 | break | 100 | break |
101 | 101 | ||
102 | m = re.search("^setUpClass \((?P<class_name>.*)\)$", scase_str) | 102 | m = re.search(r"^setUpClass \((?P<class_name>.*)\)$", scase_str) |
103 | if m: | 103 | if m: |
104 | class_name = "%s.%s" % (case.__class__.__module__, | 104 | class_name = "%s.%s" % (case.__class__.__module__, |
105 | case.__class__.__name__) | 105 | case.__class__.__name__) |