# HG changeset patch # User Julien Cristau # Date 1456331696 -3600 # Node ID ed048bfd1b88bf2b6e4f4d542165c03f611b31ef # Parent b07406dae25e01292e1b559b88c02bb7f57d3ad4 [devtools] skip CubicWebServerTC on python3 People should migrate to wsgi if they're going to use CubicWeb on python3. diff -r b07406dae25e -r ed048bfd1b88 cubicweb/devtools/httptest.py --- a/cubicweb/devtools/httptest.py Mon Feb 08 16:10:51 2016 +0100 +++ b/cubicweb/devtools/httptest.py Wed Feb 24 17:34:56 2016 +0100 @@ -26,6 +26,7 @@ import threading import socket +from six import PY3 from six.moves import range, http_client from six.moves.urllib.parse import urlparse @@ -132,6 +133,8 @@ class CubicWebServerTC(_CubicWebServerTC): def start_server(self): + if PY3: + self.skipTest('not using twisted on python3') from twisted.internet import reactor from cubicweb.etwist.server import run # use a semaphore to avoid starting test while the http server isn't