From 0a5efbdf15a67f6e4065c78b0c70e72202e0d965 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Mon, 21 Nov 2016 12:45:16 +0100 Subject: Fix the Flake8 ignore tags --- src/mailman/testing/helpers.py | 2 +- src/mailman/testing/nose.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mailman/testing') 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()) diff --git a/src/mailman/testing/nose.py b/src/mailman/testing/nose.py index 6a2e0d6ba..bbd361390 100644 --- a/src/mailman/testing/nose.py +++ b/src/mailman/testing/nose.py @@ -42,7 +42,7 @@ class NosePlugin(Plugin): super().__init__() self.patterns = [] self.stderr = False - def set_stderr(ignore): # noqa: E301 + def set_stderr(ignore): # noqa: E306 self.stderr = True self.addArgument(self.patterns, 'P', 'pattern', 'Add a test matching pattern') -- cgit v1.2.3-70-g09d2