call site 0 for code.Frame.__init__
apigen/rest/testing/test_rest.py - line 259
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
   def test_check_internal_links(self):
->     ds = self.get_filled_docstorage()
       lg = DirectFS()
       tempdir = temppath.ensure('internal_links', dir=True)
       r = RestGen(ds, lg, DirWriter(tempdir))
       r.write()
       index = tempdir.join('module_Unknown module.txt')
       assert index.check(file=True)
       data = _nl(index.read())
       assert data.find('.. _`fun`: function_fun.html\n') > -1
       assert data.find('.. _`fun`: #function-fun\n') == -1
   
       tempfile = temppath.ensure('internal_links.txt',
                                 file=True)
       r = RestGen(ds, lg, FileWriter(tempfile))
       r.write()
       data = _nl(tempfile.read())
       assert data.find('.. _`fun`: #function-fun\n') > -1
       assert data.find('.. _`fun`: function_fun.html') == -1
       tempfile = temppath.ensure("internal_links_ps.txt", file=True)
       if 0:
           ps = PermaDocStorage(ds)
           r = RestGen(ps, lg, FileWriter(tempfile))
           r.write()
           data = _nl(tempfile.read())
           assert data.find('.. _`fun`: #function-fun\n') > -1
           assert data.find('.. _`fun`: function_fun.html') == -1
           pickle.dumps(ps)
apigen/rest/testing/test_rest.py - line 152
146
147
148
149
150
151
152
153
154
155
156
157
158
159
   def get_filled_docstorage(self):
       descs = {'SomeClass': SomeClass,
                'SomeSubClass': SomeSubClass,
                'fun':fun}
       ds = DocStorage().from_dict(descs)
       t = Tracer(ds)
->     t.start_tracing()
       s1 = SomeClass("a")
       fun(1, 2, s1)
       s2 = SomeSubClass("b")
       s2.method(1,2,3)
       fun(1, 3, s2)
       t.end_tracing()
       return DocStorageAccessor(ds)
apigen/tracer/tracer.py - line 49
45
46
47
48
49
50
   def start_tracing(self):
       if self.tracing:
           return
       self.tracing = True
->     self.frame = py.code.Frame(sys._getframe(1))
       sys.settrace(self._tracer)