Fix epytext errors.
This commit is contained in:
@@ -9,9 +9,9 @@ class TagContext(object):
|
|||||||
def __init__(self, parent=None):
|
def __init__(self, parent=None):
|
||||||
"""Create a new TagContext.
|
"""Create a new TagContext.
|
||||||
|
|
||||||
:parent: If provided, uses this as the parent context. Any tags that
|
:param parent: If provided, uses this as the parent context. Any tags
|
||||||
are current on the parent at the time of construction are current
|
that are current on the parent at the time of construction are
|
||||||
in this context.
|
current in this context.
|
||||||
"""
|
"""
|
||||||
self.parent = parent
|
self.parent = parent
|
||||||
self._tags = set()
|
self._tags = set()
|
||||||
|
|||||||
@@ -357,12 +357,12 @@ class TextTestResult(TestResult):
|
|||||||
class ThreadsafeForwardingResult(TestResult):
|
class ThreadsafeForwardingResult(TestResult):
|
||||||
"""A TestResult which ensures the target does not receive mixed up calls.
|
"""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
|
result, and that target result will only ever receive the complete set of
|
||||||
events for one test at a time.
|
events for one test at a time.
|
||||||
|
|
||||||
This is enforced using a semaphore, which further guarantees that tests
|
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.
|
different threads.
|
||||||
|
|
||||||
``ThreadsafeForwardingResult`` is typically used by
|
``ThreadsafeForwardingResult`` is typically used by
|
||||||
|
|||||||
Reference in New Issue
Block a user