Searched refs:make_bad_fd (Results 1 – 8 of 8) sorted by relevance
13 from test.support.os_helper import (TESTFN, TESTFN_UNICODE, make_bad_fd)468 self.assertRaises(OSError, self.FileIO, make_bad_fd())471 self.assertRaises(OSError, msvcrt.get_osfhandle, make_bad_fd())
543 bad_f = os_helper.make_bad_fd()
312 fd = os_helper.make_bad_fd()
168 fd = os_helper.make_bad_fd()
2114 f(os_helper.make_bad_fd(), *args, **kwargs)2126 self.assertEqual(os.isatty(os_helper.make_bad_fd()), False)2130 fd = os_helper.make_bad_fd()3903 fd = os_helper.make_bad_fd()
1920 socket.socket(fileno=os_helper.make_bad_fd())1927 fileno=os_helper.make_bad_fd())
154 def make_bad_fd(): function
1398 .. function:: make_bad_fd()