call site 3 for path.local.common
path/local/testing/test_posix.py - line 45
40
41
42
43
44
45
46
47
   def test_symlink_relative(self):
       tmpdir = self.tmpdir 
       linkpath = tmpdir.join('test')
       filepath = tmpdir.join('file')
       filepath.write("Hello")
->     linkpath.mksymlinkto(filepath, absolute=False)
       assert linkpath.readlink() == "file"
       assert filepath.read() == linkpath.read()
path/local/posix.py - line 94
89
90
91
92
93
94
95
96
97
98
99
100
   def mksymlinkto(self, value, absolute=1):
       """ create a symbolic link with the given value (pointing to another name). """
       if absolute:
           self._callex(os.symlink, str(value), self.strpath)
       else:
->         base = self.common(value)
           # with posix local paths '/' is always a common base
           relsource = self.__class__(value).relto(base)
           reldest = self.relto(base)
           n = reldest.count(self.sep)
           target = self.sep.join(('..', )*n + (relsource, ))
           self._callex(os.symlink, target, self.strpath)