Merge lp:~gz/bzr/trivial_conflicts_tests_need_feature into lp:bzr
Proposed by
Martin Packman
Status: | Merged |
---|---|
Approved by: | Martin Packman |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5909 |
Proposed branch: | lp:~gz/bzr/trivial_conflicts_tests_need_feature |
Merge into: | lp:bzr |
Diff against target: |
20 lines (+2/-1) 1 file modified
bzrlib/tests/blackbox/test_conflicts.py (+2/-1) |
To merge this branch: | bzr merge lp:~gz/bzr/trivial_conflicts_tests_need_feature |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij (community) | Approve | ||
Review via email: mp+61891@code.launchpad.net |
Commit message
Require UnicodeFilename
Description of the change
Fixes another an oversight from <lp:~gz/bzr/conflicts_non_ascii_ui_686161> by requiring unicode filenames to be supported to run the new tests in bb.test_conflicts so they'll be skipped on systems without a locale set.
Confusingly, the Feature I needed wasn't in bzrlib.
To post a comment you must log in.
On Sun, 2011-05-22 at 12:01 +0000, Martin [gz] wrote: tests.features and appears to be duplicated as both UnicodeFilename Feature and UnicodeFilename.
> Confusingly, the Feature I needed wasn't in bzrlib.
Can you file a bug about that?
review approve
> differences between files attachment (review-diff.txt) tests/blackbox/ test_conflicts. py' tests/blackbox/ test_conflicts. py 2011-05-21 16:29:38 +0000 tests/blackbox/ test_conflicts. py 2011-05-22 12:01:44 +0000 Feature
> === modified file 'bzrlib/
> --- bzrlib/
> +++ bzrlib/
> @@ -19,7 +19,7 @@
> tests,
> workingtree,
> )
> -from bzrlib.tests import script
> +from bzrlib.tests import script, UnicodeFilename
We're usually writing these imports on several lines now, to make
merging less problematic. I guess it's not really a big deal in this
case.
Cheers,
Jelmer