[issue9895] Speed up test_subprocess

Antoine Pitrou report at bugs.python.org
Sat Sep 18 23:27:38 CEST 2010

Antoine Pitrou <pitrou at free.fr> added the comment:

> A few questions / clarifications:
>  is errno.EMFILE portable?  will that errno test work on both posix and
> windows?

It does (tested under Linux and a Win64 VM).

>  should the is_resource_enabled('subprocess') stuff be preserved (why was it
> there to begin with? because the old test took so long?)

I guess the latter: the test was so long, especially on slow machines,
that it was only enabled selectively.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list