Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_fileio.py14 from test.test_support import TESTFN, check_warnings, run_unittest, make_bad_fd
371 self.assertRaises(OSError, _FileIO, make_bad_fd())
374 self.assertRaises(IOError, msvcrt.get_osfhandle, make_bad_fd())
Dtest_os.py669 f(test_support.make_bad_fd(), *args)
678 self.assertEqual(os.isatty(test_support.make_bad_fd()), False)
682 fd = test_support.make_bad_fd()
Dtest_signal.py238 fd = test_support.make_bad_fd()
Dtest_test_support.py286 fd = support.make_bad_fd()
/external/python/cpython3/Lib/test/
Dtest_fileio.py13 make_bad_fd, cpython_only, swap_attr)
466 self.assertRaises(OSError, self.FileIO, make_bad_fd())
469 self.assertRaises(OSError, msvcrt.get_osfhandle, make_bad_fd())
Dtest_support.py283 fd = support.make_bad_fd()
Dtest_signal.py101 fd = support.make_bad_fd()
Dtest_selectors.py538 bad_f = support.make_bad_fd()
Dtest_os.py1677 f(support.make_bad_fd(), *args)
1686 self.assertEqual(os.isatty(support.make_bad_fd()), False)
1690 fd = support.make_bad_fd()
/external/python/cpython2/Lib/test/support/
D__init__.py842 def make_bad_fd(): function
/external/python/cpython3/Lib/test/support/
D__init__.py1089 def make_bad_fd(): function
/external/python/cpython3/Doc/library/
Dtest.rst933 .. function:: make_bad_fd()