summaryrefslogtreecommitdiff
path: root/docutils/test/DocutilsTestSupport.py
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-03-04 15:54:22 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-03-04 15:54:22 +0000
commite61bd1ea93dcbc0ceaba0c8fbb3312c54efaaa0a (patch)
tree9a3d67e207c783186d97a8500034c556044c53d5 /docutils/test/DocutilsTestSupport.py
parentfb90874a991c64da4340b1f09badbf846ba6152b (diff)
downloaddocutils-e61bd1ea93dcbc0ceaba0c8fbb3312c54efaaa0a.tar.gz
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
Diffstat (limited to 'docutils/test/DocutilsTestSupport.py')
-rw-r--r--docutils/test/DocutilsTestSupport.py6
1 files changed, 3 insertions, 3 deletions
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: