call site 0 for code.Traceback.getcrashentry
code/testing/test_excinfo.py - line 161
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
   def test_traceback_getcrashentry_empty(self):
       def g():
           __tracebackhide__ = True
           raise ValueError 
       def f():
           __tracebackhide__ = True
           g()
   
       excinfo = py.test.raises(ValueError, f)
       tb = excinfo.traceback
->     entry = tb.getcrashentry()
       co = py.code.Code(g)
       assert entry.frame.code.path == co.path
       assert entry.lineno == co.firstlineno + 2
       assert entry.frame.code.name == 'g'