diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-12-15 09:47:21 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-12-15 09:47:21 +0100 |
commit | e0fff7b987182b5a5d063441ac039f8075765b00 (patch) | |
tree | e07358eb7f7fa992da869af32be93cb39298f964 | |
parent | 8bcf37ec0670be64395c8ce66b17cfa585626363 (diff) | |
download | trollius-e0fff7b987182b5a5d063441ac039f8075765b00.tar.gz |
update doc
-rw-r--r-- | doc/changelog.rst | 2 | ||||
-rw-r--r-- | doc/dev.rst | 3 | ||||
-rw-r--r-- | doc/using.rst | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/doc/changelog.rst b/doc/changelog.rst index 6bb2780..51d4d2e 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -12,7 +12,7 @@ Changes: loop is closed. Initial patch written by Torsten Landschoff. * Python issue #22921: Don't require OpenSSL SNI to pass hostname to ssl functions. Patch by Donald Stufft. -* Add run_aiotest.py +* Add run_aiotest.py: run the aiotest test suite. * tox now also run the aiotest test suite Bugfixes: diff --git a/doc/dev.rst b/doc/dev.rst index 32f5ef5..faabb16 100644 --- a/doc/dev.rst +++ b/doc/dev.rst @@ -27,6 +27,9 @@ On Python older than 3.3, unit tests require the `mock <https://pypi.python.org/pypi/mock>`_ module. Python 2.6 requires also `unittest2 <https://pypi.python.org/pypi/unittest2>`_. +To run ``run_aiotest.py``, you need the `aiotest +<https://pypi.python.org/pypi/aiotest>`_ test suite: ``pip install aiotest``. + Run tests on UNIX ----------------- diff --git a/doc/using.rst b/doc/using.rst index 904619c..c730f86 100644 --- a/doc/using.rst +++ b/doc/using.rst @@ -51,6 +51,9 @@ coroutines. Effect of the debug mode: +* On Python 2, :meth:`Future.set_exception` stores the traceback, so + ``loop.run_until_complete()`` raises the exception with the original + traceback. * Log coroutines defined but never "yielded" * BaseEventLoop.call_soon() and BaseEventLoop.call_at() methods raise an exception if they are called from the wrong thread. |