]> git.ipfire.org Git - thirdparty/tornado.git/commit
Refactor unittest/unittest2 imports to fix issues with unittest2 on py3.
authorBen Darnell <ben@bendarnell.com>
Sat, 15 Mar 2014 04:45:09 +0000 (00:45 -0400)
committerBen Darnell <ben@bendarnell.com>
Sat, 15 Mar 2014 04:46:52 +0000 (00:46 -0400)
commit99474fe89b4cea763e3fd449113a28a8d92d6729
tree46d50e8d3fdebca13418ed251a08112f7a504319
parentd2226ff81b566d6af3df7da6a6461cf6a8356bc3
Refactor unittest/unittest2 imports to fix issues with unittest2 on py3.

Never use unittest2 on python 3 (it appears to not interoperate with
the standard unittest module).  On python 2, use the same logic in
tornado.testing and tornado.test.util to select an implementation.

Fixes #1005.
tornado/test/util.py
tornado/testing.py
tox.ini