summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2017-03-23 15:19:03 +0000
committerThomas Kluyver <thomas@kluyver.me.uk>2017-03-23 15:19:03 +0000
commit24ba6401cb7fe6fbc0d4998692efc8d96918ae16 (patch)
tree084ab04db8190f671e55404f92f9b0909f9b0a53 /test
parentbd999c1c3fe7ee5f30ede2cf704cf03e400347b4 (diff)
Fix unnecessary escape sequences, deprecated in Python 3.6
From https://bugs.freedesktop.org/show_bug.cgi?id=100348
Diffstat (limited to 'test')
-rw-r--r--test/test-desktop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-desktop.py b/test/test-desktop.py
index 440253e..e73ea5a 100644
--- a/test/test-desktop.py
+++ b/test/test-desktop.py
@@ -37,7 +37,7 @@ class DesktopEntryTest(unittest.TestCase):
contents = f.read()
assert "[Hallo]" in contents, contents
- assert re.search("key\s*=\s*value", contents), contents
+ assert re.search(r"key\s*=\s*value", contents), contents
# This is missing the Name key, and has an unknown Hallo group, so it
# shouldn't validate.