Merge lp:~jml/testtools/epytext-fixes into lp:~testtools-committers/testtools/trunk

Proposed by Jonathan Lange
Status: Merged
Merged at revision: 276
Proposed branch: lp:~jml/testtools/epytext-fixes
Merge into: lp:~testtools-committers/testtools/trunk
Diff against target: 35 lines (+5/-5)
2 files modified
testtools/tags.py (+3/-3)
testtools/testresult/real.py (+2/-2)
To merge this branch: bzr merge lp:~jml/testtools/epytext-fixes
Reviewer Review Type Date Requested Status
testtools committers Pending
Review via email: mp+125747@code.launchpad.net

Description of the change

Fixes epytext glitches.

To post a comment you must log in.
Revision history for this message
Robert Collins (lifeless) wrote :

Doit

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'testtools/tags.py'
2--- testtools/tags.py 2012-04-12 16:26:02 +0000
3+++ testtools/tags.py 2012-09-21 15:26:50 +0000
4@@ -9,9 +9,9 @@
5 def __init__(self, parent=None):
6 """Create a new TagContext.
7
8- :parent: If provided, uses this as the parent context. Any tags that
9- are current on the parent at the time of construction are current
10- in this context.
11+ :param parent: If provided, uses this as the parent context. Any tags
12+ that are current on the parent at the time of construction are
13+ current in this context.
14 """
15 self.parent = parent
16 self._tags = set()
17
18=== modified file 'testtools/testresult/real.py'
19--- testtools/testresult/real.py 2012-05-07 02:51:19 +0000
20+++ testtools/testresult/real.py 2012-09-21 15:26:50 +0000
21@@ -357,12 +357,12 @@
22 class ThreadsafeForwardingResult(TestResult):
23 """A TestResult which ensures the target does not receive mixed up calls.
24
25- Multiple ``ThreadsafeForwardingResult``s can forward to the same target
26+ Multiple ``ThreadsafeForwardingResults`` can forward to the same target
27 result, and that target result will only ever receive the complete set of
28 events for one test at a time.
29
30 This is enforced using a semaphore, which further guarantees that tests
31- will be sent atomically even if the ``ThreadsafeForwardingResult``s are in
32+ will be sent atomically even if the ``ThreadsafeForwardingResults`` are in
33 different threads.
34
35 ``ThreadsafeForwardingResult`` is typically used by

Subscribers

People subscribed via source and target branches