call site 9 for path.local.__str__
apigen/rest/testing/test_rest.py - line 75
72
73
74
75
76
77
78
   def test_viewvc_link():
       vcview = ViewVC("http://codespeak.net/viewvc/")
       fname = cut_pyc(__file__)
->     title, link = vcview.getlink(fname, 0, "")
       assert title == '%s:%s' % (fname, 0)
       assert link == ('http://codespeak.net/viewvc/py/apigen/rest/'
                           'testing/test_rest.py?view=markup')
apigen/rest/genrest.py - line 48
47
48
49
50
51
52
53
54
55
56
57
58
   def getlink(self, filename, lineno, funcname):
->     path = str(self.getpkgpath(filename))
       assert filename.startswith(path), (
           "%s does not belong to package %s" % (filename, path))
       relname = filename[len(path):]
       if relname.endswith('.pyc'):
           relname = relname[:-1]
       sep = py.std.os.sep
       if sep != '/':
           relname = relname.replace(sep, '/')
       return ('%s:%s' % (filename, lineno),
               self.basepath + relname[1:] + '?view=markup')