Fix epytext errors.

This commit is contained in:
Jonathan Lange
2012-09-21 16:15:24 +01:00
parent 9b195f4677
commit 528a94203c
2 changed files with 5 additions and 5 deletions

View File

@@ -9,9 +9,9 @@ class TagContext(object):
def __init__(self, parent=None):
"""Create a new TagContext.
:parent: If provided, uses this as the parent context. Any tags that
are current on the parent at the time of construction are current
in this context.
:param parent: If provided, uses this as the parent context. Any tags
that are current on the parent at the time of construction are
current in this context.
"""
self.parent = parent
self._tags = set()

View File

@@ -357,12 +357,12 @@ class TextTestResult(TestResult):
class ThreadsafeForwardingResult(TestResult):
"""A TestResult which ensures the target does not receive mixed up calls.
Multiple ``ThreadsafeForwardingResult``s can forward to the same target
Multiple ``ThreadsafeForwardingResults`` can forward to the same target
result, and that target result will only ever receive the complete set of
events for one test at a time.
This is enforced using a semaphore, which further guarantees that tests
will be sent atomically even if the ``ThreadsafeForwardingResult``s are in
will be sent atomically even if the ``ThreadsafeForwardingResults`` are in
different threads.
``ThreadsafeForwardingResult`` is typically used by