From b87447ffe4a20793e22884a99a7f9afe3a803004 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 1 Apr 2016 16:40:39 -0400 Subject: Don't use `flake8: noqa`. This suppresses all errors in the file. Use `noqa`, although pep8 doesn't honor this for all errors. There may be a plugin which helps. --- src/mailman/testing/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mailman/testing/helpers.py') diff --git a/src/mailman/testing/helpers.py b/src/mailman/testing/helpers.py index 302198396..cb5bb8d28 100644 --- a/src/mailman/testing/helpers.py +++ b/src/mailman/testing/helpers.py @@ -251,7 +251,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: # flake8: noqa + class NNTPProxy: # noqa def get_message(self): args = nntpd.post.call_args return specialized_message_from_string(args[0][0].read()) -- cgit v1.2.3-70-g09d2