~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_osutils.py

  • Committer: Vincent Ladeuil
  • Date: 2010-06-02 11:51:58 UTC
  • mto: (5247.1.5 first-try)
  • mto: This revision was merged to the branch mainline in revision 5326.
  • Revision ID: v.ladeuil+lp@free.fr-20100602115158-a4qiivtgkshtip1n
Cleanup imports in osutils.py.

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