summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-11-20 12:35:08 +0100
committerVictor Stinner <victor.stinner@gmail.com>2014-11-20 12:35:08 +0100
commitea190a9f069bc71414377b9068ad9577fca3d1a4 (patch)
treeed0ee768fdb733565d34983dfec99166d47228ec
parent75417daf0b53d969da81a992bc6fbac4ff395a97 (diff)
downloadaioeventlet-ea190a9f069bc71414377b9068ad9577fca3d1a4.tar.gz
tox: tests also monkey-patching
-rw-r--r--README8
-rw-r--r--tox.ini11
2 files changed, 16 insertions, 3 deletions
diff --git a/README b/README
index 9861b3d..7d40f4c 100644
--- a/README
+++ b/README
@@ -43,6 +43,7 @@ To run tests against other Python versions:
* ``py26``: Python 2.6
* ``py27``: Python 2.7
+* ``py27_patch``: Python 2.7 with eventlet monkey patching
* ``py32``: Python 3.2
* ``py33``: Python 3.3
* ``py34``: Python 3.4
@@ -104,14 +105,17 @@ Tests of aiogreen 0.1:
* Tested with asyncio 0.4.1 and 3.4.2
-Not supported (yet)
-===================
+To do (Not supported)
+=====================
* run an event loop in a thread different than the main thread
* sockets: create_server, sock_recv
* pipes: connect_read_pipe
* subprocesses: need pipes
* signal handlers: add_signal_handler (only for pyevent hub?)
+* tox.ini: add py33_patch. eventlet with Python 3 and monkey-patch causes
+ an issue in importlib.
+
eventlet and Python 3
=====================
diff --git a/tox.ini b/tox.ini
index f83c6d3..86aed81 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py26,py27,py32,py33,py34
+envlist = py26,py27,py27_patch,py32,py33,py34
[testenv:py26]
setenv =
@@ -18,6 +18,15 @@ deps=
trollius
commands=python runtests.py -r
+[testenv:py27_patch]
+basepython = python2.7
+setenv =
+ TROLLIUSDEBUG = 1
+deps=
+ eventlet
+ trollius
+commands=python runtests.py -r -m
+
[testenv:py32]
setenv =
TROLLIUSDEBUG = 1