call site 2 for code.Source.__str__
apigen/source/testing/test_browser.py - line 71
67
68
69
70
71
72
73
74
75
76
77
   def test_importing_goes_wrong():
       tmp = py.test.ensuretemp("sourcebrowserimport")
       tmp.ensure("x.py").write(py.code.Source("""
           import aslkdjaslkdjasdl
->     """))
       mod = parse_path(tmp.join("x.py"))
   
       tmp.ensure("y.py").write(py.code.Source("""
           raise KeyboardInterrupt 
       """))
       py.test.raises(KeyboardInterrupt, 'parse_path(tmp.join("y.py"))')
path/local/local.py - line 275
273
274
275
276
277
278
279
280
   def write(self, content, mode='wb'):
       """ write string content into path. """
->     s = str(content)
       f = self.open(mode)
       try:
           f.write(s)
       finally:
           f.close()