[Python-Dev] cpython: Issue #18904: test_socket: add inheritance tests using fcntl and FD_CLOEXEC (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Sun Sep 8 13:23:37 CEST 2013


On Sun, 8 Sep 2013 11:54:00 +0200 (CEST) victor.stinner <python-checkins at python.org> wrote:

http://hg.python.org/cpython/rev/b7f6f6f59e91 changeset: 85619:b7f6f6f59e91 user: Victor Stinner <victor.stinner at gmail.com> date: Sun Sep 08 11:53:09 2013 +0200 summary: Issue #18904: testsocket: add inheritance tests using fcntl and FDCLOEXEC [...]

+ if fcntl: + def testgetinheritablecloexec(self):

The right way to do this would be to skip the test if fcntl doesn't exist.

Regards

Antoine.



More information about the Python-Dev mailing list