diff options
author | Erik Johnston <erik@matrix.org> | 2020-05-12 11:20:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-12 11:20:48 +0100 |
commit | 1a1da60ad2c9172fe487cd38a164b39df60f4cb5 (patch) | |
tree | 2b2f1a2f431535f2f9088f06486c9070c3805f0c /tests/config | |
parent | Convert federation handler to async/await. (#7459) (diff) | |
download | synapse-1a1da60ad2c9172fe487cd38a164b39df60f4cb5.tar.xz |
Fix new flake8 errors (#7470)
Diffstat (limited to 'tests/config')
-rw-r--r-- | tests/config/test_load.py | 2 |
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)) |