[meld] test: Fix raw escape sequences
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] test: Fix raw escape sequences
- Date: Fri, 5 Jul 2019 01:25:12 +0000 (UTC)
commit 47ba752b7d870ee27671c59886dea332d97067a6
Author: Kai Willadsen <kai willadsen gmail com>
Date: Fri Jul 5 10:24:50 2019 +1000
test: Fix raw escape sequences
test/test_filediff.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/test/test_filediff.py b/test/test_filediff.py
index 59b9c256..3334d8e1 100644
--- a/test/test_filediff.py
+++ b/test/test_filediff.py
@@ -75,10 +75,10 @@ def test_filter_text(text, ignored_ranges, expected_text):
filter_patterns = [
'#.*',
- '/\*.*\*/',
+ r'/\*.*\*/',
'a(.*)b',
'x(.*)y(.*)z',
- '\$\w+:([^\n$]+)\$'
+ r'\$\w+:([^\n$]+)\$'
]
filters = [
FilterEntry.new_from_gsetting(("name", True, f), FilterEntry.REGEX)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]