cpython/Lib/test/support
Victor Stinner 492d6424a7
bpo-33773: Fix test.support.fd_count() on Linux/FreBSD (GH-7421)
Substract one because listdir() opens internally a file
descriptor to list the content of the /proc/self/fd/ directory.

Add test_support.test_fd_count().

Move also MAXFD code before msvcrt.CrtSetReportMode(), to make sure
that the report mode is always restored on failure.
2018-06-06 17:23:50 +02:00
..
__init__.py bpo-33773: Fix test.support.fd_count() on Linux/FreBSD (GH-7421) 2018-06-06 17:23:50 +02:00
script_helper.py bpo-33053: -m now adds *starting* directory to sys.path (GH-6231) 2018-03-25 23:03:10 +10:00