Merge lp:~gz/bzr/trivial_test_rename_fails_stringification into lp:bzr
Status: | Merged |
---|---|
Approved by: | John A Meinel |
Approved revision: | not available |
Merged at revision: | 5606 |
Proposed branch: | lp:~gz/bzr/trivial_test_rename_fails_stringification |
Merge into: | lp:bzr |
Diff against target: |
29 lines (+9/-3) 1 file modified
bzrlib/tests/test_transform.py (+9/-3) |
To merge this branch: | bzr merge lp:~gz/bzr/trivial_test_rename_fails_stringification |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
bzr-core | Pending | ||
Review via email: mp+46055@code.launchpad.net |
Commit message
Transform.rename test shouldn't assume the str form of the exception because of locale issues.
Description of the change
Philosophy: It's worth checking that exception instances stringify sanely, but that should be done in bt.test_errors on artificially constructed exception instances. Tests like bt.test_
The test is a little messy because it does some dancing to induce a permissions failure, but that can get cleaned up and unified with other tests that need a similar mechanism at a later date.
...this incidentally avoids a failure on babune due to bug 262874 not being fixed yet.
sent to pqm by email