Merge ~jugmac00/launchpad:fix-typos-in-layers-py into launchpad:master

Proposed by Jürgen Gmach
Status: Merged
Approved by: Jürgen Gmach
Approved revision: a86b7985df8add3a765e3cfc115f6ef8415051ca
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~jugmac00/launchpad:fix-typos-in-layers-py
Merge into: launchpad:master
Diff against target: 31 lines (+3/-3)
1 file modified
lib/lp/testing/layers.py (+3/-3)
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+411577@code.launchpad.net

Commit message

Fix typos

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/lib/lp/testing/layers.py b/lib/lp/testing/layers.py
2index 632a255..a908ac3 100644
3--- a/lib/lp/testing/layers.py
4+++ b/lib/lp/testing/layers.py
5@@ -11,7 +11,7 @@ and testTearDown. If you don't do this, a base class' method will be called
6 instead probably breaking something.
7
8 Preferred style is to not use the 'cls' argument to Layer class methods,
9-as this is unambguious.
10+as this is unambiguous.
11
12 TODO: Make the Zope3 test runner handle multiple layers per test instead
13 of one, forcing us to attempt to make some sort of layer tree.
14@@ -327,7 +327,7 @@ class BaseLayer:
15 BaseLayer.check()
16 BaseLayer.original_working_directory = os.getcwd()
17
18- # Tests and test infrastruture sometimes needs to know the test
19+ # Tests and test infrastructure sometimes needs to know the test
20 # name. The testrunner doesn't provide this, so we have to do
21 # some snooping.
22 import inspect
23@@ -408,7 +408,7 @@ class BaseLayer:
24 BaseLayer.flagTestIsolationFailure(
25 "Test left SIGCHLD handler.")
26
27- # Objects with __del__ methods cannot participate in refence cycles.
28+ # Objects with __del__ methods cannot participate in reference cycles.
29 # Fail tests with memory leaks now rather than when Launchpad crashes
30 # due to a leak because someone ignored the warnings.
31 if gc.garbage:

Subscribers

People subscribed via source and target branches

to status/vote changes: