summaryrefslogtreecommitdiff
path: root/docutils/test/test_settings.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/test_settings.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/test_settings.py')
-rwxr-xr-xdocutils/test/test_settings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docutils/test/test_settings.py b/docutils/test/test_settings.py
index bd104ca38..0630eece8 100755
--- a/docutils/test/test_settings.py
+++ b/docutils/test/test_settings.py
@@ -223,7 +223,7 @@ class ConfigEnvVarFileTests(ConfigFileTests):
def tearDown(self):
os.environ = self.orig_environ
- def test_old(self): pass # don't repreat this test
+ def test_old(self): pass # don't repreat this test
@unittest.skipUnless(
os.name == 'posix',
@@ -350,7 +350,7 @@ class HelperFunctionsTests(unittest.TestCase):
reporter = utils.Reporter('test', 1, 4)
with self.assertWarnsRegex(DeprecationWarning,
'Set attributes via configuration settings'):
- reporter.set_conditions('foo', 1, 4) # trigger warning
+ reporter.set_conditions('foo', 1, 4) # trigger warning
if __name__ == '__main__':
unittest.main()