call site 0 for code.Source.deindent
code/testing/test_safe_repr.py - line 27
26
27
   def test_string_exception():
->     assert 'unknown' in safe_repr._repr(BrokenRepr("string"))
magic/assertion.py - line 16
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
   def __init__(self, *args):
       BuiltinAssertionError.__init__(self, *args)
       if args: 
           self.msg = str(args[0])
       else: 
           f = sys._getframe(1)
           try:
               source = py.code.Frame(f).statement
->             source = str(source.deindent()).strip()
           except py.error.ENOENT:
               source = None
               # this can also occur during reinterpretation, when the
               # co_filename is set to "<run>".
           if source:
               self.msg = exprinfo.interpret(source, f, should_fail=True)
               if not self.args:
                   self.args = (self.msg,)
           else:
               self.msg = None