summaryrefslogtreecommitdiff
path: root/src/mailman/tests
diff options
context:
space:
mode:
authorAurélien Bompard2016-11-21 12:45:16 +0100
committerAurélien Bompard2016-11-21 12:45:16 +0100
commit0a5efbdf15a67f6e4065c78b0c70e72202e0d965 (patch)
treeeb4da32bbfb874f999736d8bf678870e08459818 /src/mailman/tests
parent88b40de08e133122ae464de922d3a9e9c3ad1376 (diff)
downloadmailman-0a5efbdf15a67f6e4065c78b0c70e72202e0d965.tar.gz
mailman-0a5efbdf15a67f6e4065c78b0c70e72202e0d965.tar.zst
mailman-0a5efbdf15a67f6e4065c78b0c70e72202e0d965.zip
Fix the Flake8 ignore tags
Diffstat (limited to 'src/mailman/tests')
-rw-r--r--src/mailman/tests/test_configfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/tests/test_configfile.py b/src/mailman/tests/test_configfile.py
index 0112f78bd..36b9abdcf 100644
--- a/src/mailman/tests/test_configfile.py
+++ b/src/mailman/tests/test_configfile.py
@@ -116,7 +116,7 @@ class TestConfigFileSearchWithChroot(TestConfigFileBase):
# system that we can write to and test is to hack os.path.exists() to
# prepend a temporary directory onto the path it tests.
self._os_path_exists = os.path.exists
- def exists(path): # noqa: E301
+ def exists(path): # noqa: E306
# Strip off the leading slash, otherwise we'll end up with path.
return self._os_path_exists(self._make_fake(path))
os.path.exists = exists