Merge lp:~james-page/bzr/unittest2-assertWarns into lp:bzr
Proposed by
James Page
Status: | Merged |
---|---|
Approved by: | Richard Wilbur |
Approved revision: | 6604 |
Merge reported by: | Vincent Ladeuil |
Merged at revision: | not available |
Proposed branch: | lp:~james-page/bzr/unittest2-assertWarns |
Merge into: | lp:bzr |
Diff against target: |
20 lines (+2/-2) 1 file modified
bzrlib/tests/test_config.py (+2/-2) |
To merge this branch: | bzr merge lp:~james-page/bzr/unittest2-assertWarns |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Richard Wilbur | Approve | ||
Review via email: mp+263884@code.launchpad.net |
Commit message
Fix name conflict between unittest2 and test_config.py. (James Page)
Description of the change
unittest2 >= 0.8.0 has an assertWarns method; this conflicts with the local use of the same method name in bzrlib/
Rename assertWarns -> assertGenerateWarns to avoid the method name being overidden by unittest2.
To post a comment you must log in.
Thank you James for fixing the code rot.
+2