Home | History | Annotate | Download | only in test

Lines Matching refs:TextIOWrapper

61     """Get the default TextIOWrapper chunk size"""
2008 t = self.TextIOWrapper(b)
2020 t = self.TextIOWrapper.__new__(self.TextIOWrapper)
2022 t = self.TextIOWrapper.__new__(self.TextIOWrapper)
2037 self.TextIOWrapper(b, encoding="hex_codec")
2042 t = self.TextIOWrapper(b)
2045 t = self.TextIOWrapper(b, encoding="ascii")
2061 t = self.TextIOWrapper(b, encoding="utf-8")
2062 modname = self.TextIOWrapper.__module__
2064 "<%s.TextIOWrapper encoding='utf-8'>" % modname)
2067 "<%s.TextIOWrapper name=u'dummy' encoding='utf-8'>" % modname)
2070 "<%s.TextIOWrapper name='dummy' encoding='utf-8'>" % modname)
2078 t = self.TextIOWrapper(b, newline="\n", line_buffering=True)
2089 t = self.TextIOWrapper(b, encoding="utf8")
2091 t = self.TextIOWrapper(b)
2098 t = self.TextIOWrapper(b, encoding="ascii")
2102 t = self.TextIOWrapper(b, encoding="ascii", errors="strict")
2106 t = self.TextIOWrapper(b, encoding="ascii", errors="ignore")
2110 t = self.TextIOWrapper(b, encoding="ascii", errors="replace")
2116 t = self.TextIOWrapper(b, encoding="ascii")
2120 t = self.TextIOWrapper(b, encoding="ascii", errors="strict")
2124 t = self.TextIOWrapper(b, encoding="ascii", errors="ignore",
2131 t = self.TextIOWrapper(b, encoding="ascii", errors="replace",
2154 # character in TextIOWrapper._pending_line.
2162 textio = self.TextIOWrapper(bufio, newline=newline,
2190 txt = self.TextIOWrapper(buf, encoding="ascii", newline=newline)
2205 txt = self.TextIOWrapper(buf, encoding="ascii", newline=newline)
2221 t = self.TextIOWrapper(b, encoding="ascii")
2229 class MyTextIO(self.TextIOWrapper):
2255 self.TextIOWrapper(rawio).xyzzy
2425 f = self.TextIOWrapper(buf, encoding=encoding)
2439 txt = self.TextIOWrapper(UnReadable())
2443 txt = self.TextIOWrapper(self.BytesIO(b"AA\r\nBB"))
2453 txt = self.TextIOWrapper(self.BytesIO(b"AA\nBB\nCC"))
2460 # read in amounts equal to TextIOWrapper._CHUNK_SIZE which is 128.
2463 txt = self.TextIOWrapper(self.BytesIO(b"A" * 127 + b"\r\nB"))
2475 txt = self.TextIOWrapper(buf)
2483 txt = self.TextIOWrapper(buf)
2489 txt = self.TextIOWrapper(self.BytesIO())
2495 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
2507 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
2519 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
2530 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
2538 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
2549 txt = self.TextIOWrapper(buffer, encoding="ascii")
2610 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
2625 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
2632 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
2644 t = self.TextIOWrapper(NonbytesStream('a'))
2647 t = self.TextIOWrapper(NonbytesStream('a'))
2650 t = self.TextIOWrapper(NonbytesStream('a'))
2660 t = self.TextIOWrapper(self.BytesIO(b'aaaaaa'),
2667 t = self.TextIOWrapper(self.BytesIO(b'aaaaaa'), newline='\n',
2672 t = self.TextIOWrapper(self.BytesIO(b'aaaaaa'), newline='\n',
2677 t = self.TextIOWrapper(self.BytesIO(b'aaaaaa'), newline='\n',
2695 t = self.TextIOWrapper(b)
2701 t = self.TextIOWrapper.__new__(self.TextIOWrapper)
2705 # C TextIOWrapper objects are collected, and collecting them flushes
2710 t = self.TextIOWrapper(b, encoding="ascii")
2721 # Issue 13070: TextIOWrapper's finalization would crash when called
2726 t1 = self.TextIOWrapper(b1, encoding="ascii")
2728 t2 = self.TextIOWrapper(b2, encoding="ascii")