Searched refs:FakeIO (Results 1 – 1 of 1) sorted by relevance
22 class FakeIO(io.TextIOWrapper): class32 super(FakeIO, self).__init__(io.BytesIO(),150 sys.stdin = FakeIO(plaintext.decode("ascii"))151 sys.stdout = FakeIO()157 sys.stdin = FakeIO(encodedtextwrapped(0o666, "t1").decode("ascii"))158 sys.stdout = FakeIO()