*Not documented*
def setasfile(self, name, module=sys):
origin: io.FDCapture
where:
function source:
def setasfile(self, name, module=sys):
key = (module, name)
self._patched.append((key, getattr(module, name)))
setattr(module, name, self.tmpfile)
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.0
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.1
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.2
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.3
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.4
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.5
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.6
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.7
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.8
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.9
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.10
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.11
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.12
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.13
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.14
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.15
called in /home/johnny/projects/merlinux/py/dist/py/io/test/test_capture.py
traceback io.FDCapture.setasfile.16
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.17
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.18
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.setasfile.19
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py