summary refs log tree commit diff
path: root/tests/config/test_generate.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-10-24 11:23:35 +0100
committerGitHub <noreply@github.com>2018-10-24 11:23:35 +0100
commit7328039117854d1c38ae41794a9e7efb2d23c732 (patch)
treeb022d21ff97fe3b99319c433a76993d4584cdf99 /tests/config/test_generate.py
parentMerge pull request #4040 from matrix-org/erikj/states_res_v2_rebase (diff)
parentFix a number of flake8 errors (diff)
downloadsynapse-7328039117854d1c38ae41794a9e7efb2d23c732.tar.xz
Merge pull request #4082 from matrix-org/rav/fix_pep8
Fix a number of flake8 errors
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)