Merge lp:~gz/brz/test_lazy_import_flakey into lp:brz
Proposed by
Martin Packman
Status: | Merged |
---|---|
Approved by: | Jelmer Vernooij |
Approved revision: | no longer in the source branch. |
Merge reported by: | The Breezy Bot |
Merged at revision: | not available |
Proposed branch: | lp:~gz/brz/test_lazy_import_flakey |
Merge into: | lp:brz |
Diff against target: |
87 lines (+19/-11) 3 files modified
breezy/lazy_import.py (+6/-3) breezy/tests/test_lazy_import.py (+5/-8) python3.passing (+8/-0) |
To merge this branch: | bzr merge lp:~gz/brz/test_lazy_import_flakey |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij | Approve | ||
Review via email: mp+348792@code.launchpad.net |
Commit message
Make lazy import tests that replace __import__ work
Description of the change
Should fix tests that fail under CI but seem to pass locally by not doing an unsafe replacement of the __import__ builtin. Instead alias it at the module level for replacement in testing.
To post a comment you must log in.
\o/