Lines Matching refs:closefd
545 closefd=False)
551 file = self.open(f.fileno(), "r", closefd=False)
559 self.assertRaises(ValueError, self.open, support.TESTFN, "r", closefd=False)
565 self.assertEqual(f.buffer.raw.closefd, True)
566 file = self.open(f.fileno(), "r", closefd=False)
567 self.assertEqual(file.buffer.raw.closefd, False)
620 self.check_flush_error_on_close(fd, 'wb', buffering=0, closefd=False)
627 self.check_flush_error_on_close(fd, 'wb', closefd=False)
634 self.check_flush_error_on_close(fd, 'w', closefd=False)
661 fileio = self.FileIO(f1.fileno(), closefd=False)
663 fileio.__init__(f2.fileno(), closefd=False)
2969 g = self.open(f.fileno(), "wb", closefd=False)
3098 rf = self.open(r, mode='rb', closefd=True, buffering=bufsize)
3099 wf = self.open(w, mode='wb', closefd=True, buffering=bufsize)