summary refs log tree commit diff
path: root/tests/config/test_generate.py
diff options
context:
space:
mode:
authorNeil Johnson <neil@fragile.org.uk>2018-10-25 21:57:47 +0100
committerNeil Johnson <neil@fragile.org.uk>2018-10-25 21:57:47 +0100
commit32b8971c9c9725461b3167cc02dff69833ecfa68 (patch)
treeb99fa38d3d8a176f07147d9c24203905dbb87f7e /tests/config/test_generate.py
parentmove to using config.support_user_id (diff)
parentMerge pull request #4089 from dekonnection/master (diff)
downloadsynapse-32b8971c9c9725461b3167cc02dff69833ecfa68.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into neilj/create_support_user
Diffstat (limited to 'tests/config/test_generate.py')
-rw-r--r--tests/config/test_generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/config/test_generate.py b/tests/config/test_generate.py
index f88d28a19d..0c23068bcf 100644
--- a/tests/config/test_generate.py
+++ b/tests/config/test_generate.py
@@ -67,6 +67,6 @@ class ConfigGenerationTestCase(unittest.TestCase):
         with open(log_config_file) as f:
             config = f.read()
             # find the 'filename' line
-            matches = re.findall("^\s*filename:\s*(.*)$", config, re.M)
+            matches = re.findall(r"^\s*filename:\s*(.*)$", config, re.M)
             self.assertEqual(1, len(matches))
             self.assertEqual(matches[0], expected)