/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_diff.py

(spiv) Add --directory option to 8 more commands. (Martin von Gagern)

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    transform,
34
34
    )
35
35
from bzrlib.symbol_versioning import deprecated_in
36
 
from bzrlib.tests import test_win32utils
 
36
from bzrlib.tests import features
37
37
 
38
38
 
39
39
class _AttribFeature(tests.Feature):
1298
1298
                         diff_obj._get_command('old-path', 'new-path'))
1299
1299
 
1300
1300
    def test_from_string_path_with_backslashes(self):
1301
 
        self.requireFeature(test_win32utils.BackslashDirSeparatorFeature)
 
1301
        self.requireFeature(features.backslashdir_feature)
1302
1302
        tool = 'C:\\Tools\\Diff.exe'
1303
1303
        diff_obj = diff.DiffFromTool.from_string(tool, None, None, None)
1304
1304
        self.addCleanup(diff_obj.finish)