Lines Matching full:open
41 with self.open(TESTFN, 'wb') as f:
59 with self.open(TESTFN, 'rb') as f:
92 with self.open(TESTFN, 'rb') as f:
107 with self.open(TESTFN, 'r+b') as f:
111 raise unittest.SkipTest("open().truncate() not available on this system")
146 with self.open(TESTFN, 'rb') as f:
163 f = open(TESTFN, 'wb', buffering=0)
178 for _open, prefix in [(io.open, 'C'), (pyio.open, 'Py'),
179 (open, 'Builtin')]:
182 TestCase.open = staticmethod(_open)
183 TestCase.new_io = _open is not open