Re: [Python-Dev] cpython (2.7): Fix posixpath.realpath() for multiple pardirs (fixes issue #6975).

2013-02-18 Thread Antoine Pitrou
On Mon, 18 Feb 2013 19:56:07 +0200 Serhiy Storchaka wrote: > On 18.02.13 19:26, Antoine Pitrou wrote: > > On Mon, 18 Feb 2013 11:24:40 +0100 (CET) > > serhiy.storchaka wrote: > >> > >> +def test_realpath_curdir(self): > >> +self.assertEqual(realpath('.'), os.getcwd()) > >> +se

Re: [Python-Dev] cpython (2.7): Fix posixpath.realpath() for multiple pardirs (fixes issue #6975).

2013-02-18 Thread Serhiy Storchaka
On 18.02.13 19:26, Antoine Pitrou wrote: On Mon, 18 Feb 2013 11:24:40 +0100 (CET) serhiy.storchaka wrote: +def test_realpath_curdir(self): +self.assertEqual(realpath('.'), os.getcwd()) +self.assertEqual(realpath('./.'), os.getcwd()) +self.assertEqual(realpath('/'.jo

Re: [Python-Dev] cpython (2.7): Fix posixpath.realpath() for multiple pardirs (fixes issue #6975).

2013-02-18 Thread Antoine Pitrou
On Mon, 18 Feb 2013 11:24:40 +0100 (CET) serhiy.storchaka wrote: > > +def test_realpath_curdir(self): > +self.assertEqual(realpath('.'), os.getcwd()) > +self.assertEqual(realpath('./.'), os.getcwd()) > +self.assertEqual(realpath('/'.join(['.'] * 100)), os.getcwd()) >