call site 1 for test.ensuretemp
io/test/test_fdcapture.py - line 50
49
50
51
52
53
54
55
56
57
58
   def test_writeorg_wrongtype(self):
->     tmppath = py.test.ensuretemp('test_writeorg').ensure('stdout',
                                                            file=True)
       tmpfp = tmppath.open('r')
       try:
           cap = py.io.FDCapture(tmpfp.fileno())
           py.test.raises(IOError, "cap.writeorg('bar\\n')")
       finally:
           tmpfp.close()
       f = cap.done()