[Python-modules-commits] [python-tornado] 08/17: skip UnixSocketTest on hurd, as unix sockets with SO_REUSEADDR are not supported there

Ondrej Novy onovy at debian.org
Mon Jan 15 13:07:43 UTC 2018


This is an automated email from the git hooks/post-receive script.

onovy pushed a commit to branch master
in repository python-tornado.

commit d2f9e204430b258a05de0d81776a41b654809788
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sat May 21 21:55:27 2016 +0000

    skip UnixSocketTest on hurd, as unix sockets with SO_REUSEADDR are not supported there
    
     A little discussion about unix sockets with SO_REUSEADDR can be found on
     https://lists.gnu.org/archive/html/bug-hurd/2016-01/msg00039.html
    
    Forwarded: no
    Patch-Name: fix-ftbfs-on-hurd.patch
---
 tornado/test/httpserver_test.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tornado/test/httpserver_test.py b/tornado/test/httpserver_test.py
index 59eb6fd..5da7271 100644
--- a/tornado/test/httpserver_test.py
+++ b/tornado/test/httpserver_test.py
@@ -581,6 +581,8 @@ class ManualProtocolTest(HandlerBaseTestCase):
 
 @unittest.skipIf(not hasattr(socket, 'AF_UNIX') or sys.platform == 'cygwin',
                  "unix sockets not supported on this platform")
+ at unittest.skipIf(sys.platform == 'gnu0',
+                 "unix sockets with SO_REUSEADDR not supported on this platform")
 class UnixSocketTest(AsyncTestCase):
     """HTTPServers can listen on Unix sockets too.
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-tornado.git



More information about the Python-modules-commits mailing list