~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_osutils.py

Merge http-leaks into sftp-leaks

Show diffs side-by-side

added added

removed removed

Lines of Context:
861
861
        self.assertEqual('//HOST/path', osutils._win98_abspath('//HOST/path'))
862
862
        # relative path
863
863
        cwd = osutils.getcwd().rstrip('/')
864
 
        drive = osutils._nt_splitdrive(cwd)[0]
 
864
        drive = osutils.ntpath.splitdrive(cwd)[0]
865
865
        self.assertEqual(cwd+'/path', osutils._win98_abspath('path'))
866
866
        self.assertEqual(drive+'/path', osutils._win98_abspath('/path'))
867
867
        # unicode path