Merge lp:~jml/launchpad/atexit-warning into lp:launchpad
Proposed by
Jonathan Lange
on 2010-10-26
| Status: | Merged |
|---|---|
| Approved by: | Robert Collins on 2010-10-26 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 11804 |
| Proposed branch: | lp:~jml/launchpad/atexit-warning |
| Merge into: | lp:launchpad |
| Diff against target: |
62 lines (+10/-4) 2 files modified
lib/canonical/librarian/testing/server.py (+2/-3) lib/canonical/testing/layers.py (+8/-1) |
| To merge this branch: | bzr merge lp:~jml/launchpad/atexit-warning |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Robert Collins (community) | 2010-10-26 | Approve on 2010-10-26 | |
|
Review via email:
|
|||
Commit Message
Prevent the atexit warning that occurs when tests are run within the LibrarianLayer.
Description of the Change
I'm sick of the atexit warning about the librarian teardown. This patch stops it.
To post a comment you must log in.
| Robert Collins (lifeless) wrote : | # |
| Robert Collins (lifeless) wrote : | # |
I think you want to None out cls._atexit_call too, and perhaps not it in the class scope as other cls variables are:
-Rob
review:
Approve

I don't quite follow this, but it makes me nervous. How about removing
the atexit call instead.