~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_osutils.py

  • Committer: INADA Naoki
  • Date: 2011-05-17 00:45:09 UTC
  • mfrom: (5875 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5891.
  • Revision ID: songofacandy@gmail.com-20110517004509-q58negjbdjh7t6u1
mergeĀ fromĀ lp:bzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
1897
1897
        os.symlink(self.target, self.link)
1898
1898
 
1899
1899
    def test_os_readlink_link_encoding(self):
1900
 
        if sys.version_info < (2, 6):
1901
 
            self.assertRaises(UnicodeEncodeError, os.readlink, self.link)
1902
 
        else:
1903
 
            self.assertEquals(self.target,  os.readlink(self.link))
 
1900
        self.assertEquals(self.target,  os.readlink(self.link))
1904
1901
 
1905
1902
    def test_os_readlink_link_decoding(self):
1906
1903
        self.assertEquals(self.target.encode(osutils._fs_enc),