summaryrefslogtreecommitdiff
path: root/src/mailman/testing/helpers.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-11-21 14:08:02 +0000
committerBarry Warsaw2016-11-21 14:08:02 +0000
commit28ee840bbb4ef616fa2655452534a1f1ba687b00 (patch)
treeeb4da32bbfb874f999736d8bf678870e08459818 /src/mailman/testing/helpers.py
parent54d32b872ee4e67a64a176077dbc49a4f87b9324 (diff)
parent0a5efbdf15a67f6e4065c78b0c70e72202e0d965 (diff)
downloadmailman-28ee840bbb4ef616fa2655452534a1f1ba687b00.tar.gz
mailman-28ee840bbb4ef616fa2655452534a1f1ba687b00.tar.zst
mailman-28ee840bbb4ef616fa2655452534a1f1ba687b00.zip
Merge branch 'flake8-errors' into 'master'
Ignore some Flake8 errors Flake8 implicitely ignores some errors, and new versions tend to add new errors. This change explicitely lists the errors we want to ignore. See merge request !218
Diffstat (limited to 'src/mailman/testing/helpers.py')
-rw-r--r--src/mailman/testing/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/testing/helpers.py b/src/mailman/testing/helpers.py
index d9cf974f5..2ce6956b7 100644
--- a/src/mailman/testing/helpers.py
+++ b/src/mailman/testing/helpers.py
@@ -248,7 +248,7 @@ def get_nntp_server(cleanups):
cleanups.append(patcher.stop)
nntpd = server_class()
# A class for more convenient access to the posted message.
- class NNTPProxy: # noqa: E301
+ class NNTPProxy: # noqa: E306
def get_message(self):
args = nntpd.post.call_args
return specialized_message_from_string(args[0][0].read())