~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_diff.py

  • Committer: Parth Malwankar
  • Date: 2010-06-11 07:56:46 UTC
  • mto: This revision was merged to the branch mainline in revision 5303.
  • Revision ID: parth.malwankar@gmail.com-20100611075646-9yyeih46ken6yagd
fixed tests. closed review comments by mgz.

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)