Searched refs:fakefile (Results 1 – 5 of 5) sorted by relevance
33 fakefile = StringIO(hdr)35 res = testfn(hdr, fakefile)
33 fakefile = BytesIO(hdr)35 res = testfn(hdr, fakefile)
40 sys.stdout = sys.stderr = fakefile = StringIO.StringIO()50 return fakefile.getvalue()
43 sys.stdout = sys.stderr = fakefile = io.StringIO()53 return fakefile.getvalue()
458 def setup_import_issue_tests(self, fakefile): argument460 os.listdir = lambda _: [fakefile]