From e61bd1ea93dcbc0ceaba0c8fbb3312c54efaaa0a Mon Sep 17 00:00:00 2001 From: milde Date: Fri, 4 Mar 2022 15:54:22 +0000 Subject: Ensure at least two spaces before inline comment. flake 8 rule E261 Exceptions for modules sheduled for removal or with 3rd-party origin and for data collections. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9021 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docutils/test/DocutilsTestSupport.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docutils/test/DocutilsTestSupport.py') diff --git a/docutils/test/DocutilsTestSupport.py b/docutils/test/DocutilsTestSupport.py index 6a33207cd..404771cfe 100644 --- a/docutils/test/DocutilsTestSupport.py +++ b/docutils/test/DocutilsTestSupport.py @@ -142,7 +142,7 @@ class CustomTestCase(StandardTestCase): Note: the modified signature is incompatible with the "pytest" and "nose" frameworks. - """ # cf. feature-request #81 + """ # cf. feature-request #81 compare = difflib.Differ().compare """Comparison method shared by all subclasses.""" @@ -262,7 +262,7 @@ class CustomTestSuite(unittest.TestSuite): if not mydir: mydir = os.curdir if callerpath.startswith(mydir): - self.id = callerpath[len(mydir) + 1:] # caller's module + self.id = callerpath[len(mydir) + 1:] # caller's module else: self.id = callerpath else: @@ -662,7 +662,7 @@ class WriterPublishTestCase(CustomTestCase, docutils.SettingsSpec): settings_default_overrides = {'_disable_config': True, 'strict_visitor': True} - writer_name = '' # set in subclasses or constructor + writer_name = '' # set in subclasses or constructor def __init__(self, *args, writer_name='', **kwargs): if writer_name: -- cgit v1.2.1