[New-bugs-announce] [issue20868] Lib/test/test_socket.py: skip testGetServBy if /etc/services is not found
Steap
report at bugs.python.org
Fri Mar 7 23:57:22 CET 2014
New submission from Steap:
In Lib/test/test_socket.py, testGetServBy calls socket.getservbyname(), which needs /etc/services (see "man getservbyname"). If this file is not found, the test fails instead of being skipped.
The attached patch was written against the latest revision of the Mercurial repository. It might be worth applying it for every currently supported version of Python.
----------
files: skip_testGetServBy.patch
keywords: patch
messages: 212910
nosy: Steap
priority: normal
severity: normal
status: open
title: Lib/test/test_socket.py: skip testGetServBy if /etc/services is not found
Added file: http://bugs.python.org/file34304/skip_testGetServBy.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20868>
_______________________________________
More information about the New-bugs-announce
mailing list