summaryrefslogtreecommitdiff
path: root/Doc/library/unittest.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2017-01-14 08:23:08 +0000
committerMartin Panter <vadmium+py@gmail.com>2017-01-14 08:23:08 +0000
commit536d70ed331c3192578b73b2b243bc1dbbd8ec2a (patch)
treea2a1ac1d395d2c4cb632c262df98968cc7ddb23f /Doc/library/unittest.rst
parentb71c0956d0904cfdc271cd10d40385c730cf8bcb (diff)
downloadcpython-git-536d70ed331c3192578b73b2b243bc1dbbd8ec2a.tar.gz
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.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index ac1224cdbf..f02b16a24e 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)