Lines Matching refs:closefd
518 closefd=False)
524 file = self.open(f.fileno(), "r", closefd=False)
531 # can't use closefd in combination with a file name
532 self.assertRaises(ValueError, self.open, support.TESTFN, "r", closefd=False)
538 self.assertEqual(f.buffer.raw.closefd, True)
539 file = self.open(f.fileno(), "r", closefd=False)
540 self.assertEqual(file.buffer.raw.closefd, False)
603 fileio = self.FileIO(f1.fileno(), closefd=False)
605 fileio.__init__(f2.fileno(), closefd=False)
2674 g = self.open(f.fileno(), "wb", closefd=False)
2802 rf = self.open(r, mode='rb', closefd=True, buffering=bufsize)
2803 wf = self.open(w, mode='wb', closefd=True, buffering=bufsize)
2947 fdopen_kwargs["closefd"] = False
2983 fdopen_kwargs["closefd"] = False