summary refs log tree commit diff
path: root/tests/config/test_load.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-05-12 11:20:48 +0100
committerGitHub <noreply@github.com>2020-05-12 11:20:48 +0100
commit1a1da60ad2c9172fe487cd38a164b39df60f4cb5 (patch)
tree2b2f1a2f431535f2f9088f06486c9070c3805f0c /tests/config/test_load.py
parentConvert federation handler to async/await. (#7459) (diff)
downloadsynapse-1a1da60ad2c9172fe487cd38a164b39df60f4cb5.tar.xz
Fix new flake8 errors (#7470)
Diffstat (limited to 'tests/config/test_load.py')
-rw-r--r--tests/config/test_load.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/config/test_load.py b/tests/config/test_load.py
index b3e557bd6a..734a9983e8 100644
--- a/tests/config/test_load.py
+++ b/tests/config/test_load.py
@@ -122,7 +122,7 @@ class ConfigLoadingTestCase(unittest.TestCase):
 
         with open(self.file, "r") as f:
             contents = f.readlines()
-        contents = [l for l in contents if needle not in l]
+        contents = [line for line in contents if needle not in line]
         with open(self.file, "w") as f:
             f.write("".join(contents))