cubicweb/devtools/httptest.py
changeset 11160 ed048bfd1b88
parent 11158 669eac69ea21
child 11767 432f87a63057
--- 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