[tracker-miners] functional-tests: Remove unnecessary newline in error message
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners] functional-tests: Remove unnecessary newline in error message
- Date: Mon, 8 Jul 2019 10:04:55 +0000 (UTC)
commit 9a1bdb4568e92a58c09e3195968f2cb5f474e6fd
Author: Sam Thursfield <sam afuera me uk>
Date: Mon Jul 8 11:02:16 2019 +0100
functional-tests: Remove unnecessary newline in error message
tests/functional-tests/common/utils/extractor.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/functional-tests/common/utils/extractor.py
b/tests/functional-tests/common/utils/extractor.py
index e58128fa0..4dfba5899 100644
--- a/tests/functional-tests/common/utils/extractor.py
+++ b/tests/functional-tests/common/utils/extractor.py
@@ -89,7 +89,7 @@ class TrackerExtractTestCase(ut.TestCase):
if not isinstance(d, dict):
self.fail("Expected dict, got %s" % d)
if key not in d:
- standardMsg = "Missing: %s\n" % (key)
+ standardMsg = "Missing: %s" % (key)
self.fail(self._formatMessage(msg, standardMsg))
else:
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]