Merge lp:~mbp/testtools/try-import-error into lp:~testtools-committers/testtools/trunk
Proposed by
Martin Pool
Status: | Superseded |
---|---|
Proposed branch: | lp:~mbp/testtools/try-import-error |
Merge into: | lp:~testtools-committers/testtools/trunk |
Diff against target: |
155 lines (+69/-6) 2 files modified
testtools/helpers.py (+14/-4) testtools/tests/test_helpers.py (+55/-2) |
To merge this branch: | bzr merge lp:~mbp/testtools/try-import-error |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
testtools developers | Pending | ||
Review via email: mp+62841@code.launchpad.net |
This proposal has been superseded by a proposal from 2011-06-01.
Description of the change
jml pointed out try_import and try_imports. I would like to use this in Bazaar to clean up some similar existing code. We want to log the fact that a module isn't available because it might indicate an installation problem. This adds a callback to observe the error.
To post a comment you must log in.
Could we get a test? It looks fine in principle.
-Rob