Home
last modified time | relevance | path

Searched refs:make_bad_fd (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Lib/test/
Dtest_fileio.py13 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())
Dtest_selectors.py543 bad_f = os_helper.make_bad_fd()
Dtest_support.py312 fd = os_helper.make_bad_fd()
Dtest_signal.py168 fd = os_helper.make_bad_fd()
Dtest_os.py2114 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()
Dtest_socket.py1920 socket.socket(fileno=os_helper.make_bad_fd())
1927 fileno=os_helper.make_bad_fd())
/third_party/python/Lib/test/support/
Dos_helper.py154 def make_bad_fd(): function
/third_party/python/Doc/library/
Dtest.rst1398 .. function:: make_bad_fd()