diff options
author | Martin Panter <vadmium+py@gmail.com> | 2017-01-14 08:23:08 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2017-01-14 08:23:08 (GMT) |
commit | 536d70ed331c3192578b73b2b243bc1dbbd8ec2a (patch) | |
tree | a2a1ac1d395d2c4cb632c262df98968cc7ddb23f /Doc/library/unittest.rst | |
parent | b71c0956d0904cfdc271cd10d40385c730cf8bcb (diff) | |
download | cpython-536d70ed331c3192578b73b2b243bc1dbbd8ec2a.zip cpython-536d70ed331c3192578b73b2b243bc1dbbd8ec2a.tar.gz cpython-536d70ed331c3192578b73b2b243bc1dbbd8ec2a.tar.bz2 |
Fix grammar, typos and markup in documentation and code comments
* Indent versionchanged at method level, not class level
* Mark up ``--help`` to avoid generating an en dash
* Use forward slash in Unix command line with a dollar sign ($) prompt
Diffstat (limited to 'Doc/library/unittest.rst')
-rw-r--r-- | Doc/library/unittest.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index ac1224c..f02b16a 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -1637,11 +1637,11 @@ Loading and running tests The method optionally resolves *name* relative to the given *module*. - .. versionchanged:: 3.5 - If an :exc:`ImportError` or :exc:`AttributeError` occurs while traversing - *name* then a synthetic test that raises that error when run will be - returned. These errors are included in the errors accumulated by - self.errors. + .. versionchanged:: 3.5 + If an :exc:`ImportError` or :exc:`AttributeError` occurs while traversing + *name* then a synthetic test that raises that error when run will be + returned. These errors are included in the errors accumulated by + self.errors. .. method:: loadTestsFromNames(names, module=None) |