]> git.ipfire.org Git - thirdparty/tornado.git/log
thirdparty/tornado.git
9 years agoFix twistedlayered test. 1541/head
Ben Darnell [Sat, 3 Oct 2015 16:00:59 +0000 (12:00 -0400)] 
Fix twistedlayered test.

Disable a test that fails under the trollius IOLoop.

Disable some additional logging.

9 years agoForce simple_httpclient in path traversal test.
Ben Darnell [Sat, 3 Oct 2015 15:40:22 +0000 (11:40 -0400)] 
Force simple_httpclient in path traversal test.

This fails with recent versions of libcurl because curl now processes
".." on the client side.

9 years agoUpdate versions in CI/tox configs. 1540/head
Ben Darnell [Sat, 3 Oct 2015 15:22:19 +0000 (11:22 -0400)] 
Update versions in CI/tox configs.

9 years agoSupport PATCH with body in curl_httpclient.
Ben Darnell [Sat, 3 Oct 2015 14:43:22 +0000 (10:43 -0400)] 
Support PATCH with body in curl_httpclient.

This previously required `allow_nonstandard_methods`.

Refine the body sanity checks and tests (followup to #1531).

9 years agoMerge pull request #1531 from stj/master
Ben Darnell [Sat, 3 Oct 2015 13:54:18 +0000 (09:54 -0400)] 
Merge pull request #1531 from stj/master

Perform sanity checks on request.body only if allow_nonstandard_metho…

9 years agoMerge pull request #1538 from awsh/master
Ben Darnell [Thu, 1 Oct 2015 20:53:55 +0000 (16:53 -0400)] 
Merge pull request #1538 from awsh/master

Removed links to facebook.com.

9 years agoRemoved links to facebook.com as Tornado is no longer featured. 1538/head
awsh [Thu, 1 Oct 2015 19:47:00 +0000 (15:47 -0400)] 
Removed links to facebook.com as Tornado is no longer featured.

9 years agoRemoved broken link. 1537/head
awsh [Thu, 1 Oct 2015 18:35:40 +0000 (14:35 -0400)] 
Removed broken link.

9 years agoPerform sanity checks on request.body only if allow_nonstandard_methods is True.... 1531/head
Stefan Tjarks [Mon, 28 Sep 2015 21:58:15 +0000 (14:58 -0700)] 
Perform sanity checks on request.body only if allow_nonstandard_methods is True. This makes CurlAsyncHTTPClient handle allow_nonstandard_methods the same as AsyncHTTPClient.

9 years agoMerge pull request #1536 from sieben/patch-1
Ben Darnell [Thu, 1 Oct 2015 14:22:37 +0000 (10:22 -0400)] 
Merge pull request #1536 from sieben/patch-1

Broken link fix

9 years agoBroken link fix 1536/head
Rémy Léone [Thu, 1 Oct 2015 07:49:12 +0000 (09:49 +0200)] 
Broken link fix

9 years agoSupport patchless use of backports_abc 0.4
Ben Darnell [Wed, 30 Sep 2015 05:05:28 +0000 (01:05 -0400)] 
Support patchless use of backports_abc 0.4

9 years agoRemove stale comment.
Ben Darnell [Wed, 30 Sep 2015 04:03:13 +0000 (00:03 -0400)] 
Remove stale comment.

9 years agoVerify extension build on appveyor
Ben Darnell [Wed, 30 Sep 2015 04:01:08 +0000 (00:01 -0400)] 
Verify extension build on appveyor

9 years agoRemove some unused imports
Ben Darnell [Wed, 30 Sep 2015 03:59:56 +0000 (23:59 -0400)] 
Remove some unused imports

9 years agoRun latest autopep8
Ben Darnell [Wed, 30 Sep 2015 03:57:38 +0000 (23:57 -0400)] 
Run latest autopep8

9 years agoUpdate requirements
Ben Darnell [Wed, 30 Sep 2015 03:51:56 +0000 (23:51 -0400)] 
Update requirements

9 years agoMerge pull request #1533 from bdarnell/facebook-auth
Ben Darnell [Tue, 29 Sep 2015 03:10:49 +0000 (23:10 -0400)] 
Merge pull request #1533 from bdarnell/facebook-auth

Fix a regression in FacebookGraphMixin in the 4.3 dev series.

9 years agoFix a regression in FacebookGraphMixin in the 4.3 dev series. 1533/head
Ben Darnell [Tue, 29 Sep 2015 02:38:16 +0000 (22:38 -0400)] 
Fix a regression in FacebookGraphMixin in the 4.3 dev series.

Return access tokens as strings instead of bytes on python 3,
making the user objects json-encodable.

Add a basic test for FacebookGraphMixin.

Fixes #1532

9 years agoUpdate next-release notes.
Ben Darnell [Mon, 28 Sep 2015 04:29:57 +0000 (00:29 -0400)] 
Update next-release notes.

9 years agoMerge pull request #1497 from codeb2cc/ws-mulit-frames-compression
Ben Darnell [Mon, 28 Sep 2015 04:11:06 +0000 (00:11 -0400)] 
Merge pull request #1497 from codeb2cc/ws-mulit-frames-compression

Fix incorrect inspection of WebSocket RSV1 bit.

9 years agoMerge pull request #1526 from bdarnell/streaming-callback-redirect
Ben Darnell [Mon, 28 Sep 2015 03:39:34 +0000 (23:39 -0400)] 
Merge pull request #1526 from bdarnell/streaming-callback-redirect

simple_httpclient: Don't call streaming_callback for redirects.

9 years agoMerge pull request #1530 from mr-ping/master
Ben Darnell [Mon, 28 Sep 2015 03:21:23 +0000 (23:21 -0400)] 
Merge pull request #1530 from mr-ping/master

Change the implement of remove_fragment method

9 years agoChange the implement of remove_fragment method 1530/head
Ping [Fri, 25 Sep 2015 09:04:55 +0000 (17:04 +0800)] 
Change the implement of remove_fragment method

9 years agoMerge pull request #1528 from bdarnell/misc
Ben Darnell [Mon, 28 Sep 2015 01:35:04 +0000 (21:35 -0400)] 
Merge pull request #1528 from bdarnell/misc

Misc updates

9 years agoReturn a Future from websocket write_message methods. 1528/head
Ben Darnell [Mon, 28 Sep 2015 01:09:09 +0000 (21:09 -0400)] 
Return a Future from websocket write_message methods.

Fixes #1478.

9 years agoAccept arguments in `raise Finish()`.
Ben Darnell [Mon, 28 Sep 2015 01:05:04 +0000 (21:05 -0400)] 
Accept arguments in `raise Finish()`.

Fixes #1474.

9 years agoMake HTTPError (both of them) copyable.
Ben Darnell [Mon, 28 Sep 2015 00:55:09 +0000 (20:55 -0400)] 
Make HTTPError (both of them) copyable.

`Exception.__reduce__` causes copy.copy() to create a new argument
with the arguments from `Exception.__init__`, then overwrite
attributes from the original `__dict__`. This means that copying fails
if there are mandatory arguments that are not passed to `__init__`.

Fixes #1485

9 years agoHandle EINTR in IOStream.
Ben Darnell [Mon, 28 Sep 2015 00:23:56 +0000 (20:23 -0400)] 
Handle EINTR in IOStream.

Fixes #1287

9 years agoMerge pull request #1494 from gwillem/curl_multi_line_header
Ben Darnell [Mon, 28 Sep 2015 00:15:12 +0000 (20:15 -0400)] 
Merge pull request #1494 from gwillem/curl_multi_line_header

Allow multi-line headers in CurlAsyncHTTPClient

9 years agoRemove "IOLoop is closing" error.
Ben Darnell [Mon, 28 Sep 2015 00:10:49 +0000 (20:10 -0400)] 
Remove "IOLoop is closing" error.

Callbacks added while the IOLoop is closing will now simply not be
called (which has always been a possible fate for callbacks added
just *before* the close). This exception has not proved to be very
useful and sometimes has false positives that are tricky to work around,
as seen in the linked issues.

Closes #1491.
Closes #1244.

9 years agoMerge pull request #1527 from bdarnell/appveyor
Ben Darnell [Mon, 28 Sep 2015 00:08:12 +0000 (20:08 -0400)] 
Merge pull request #1527 from bdarnell/appveyor

Add appveyor.yml for windows CI.

9 years agoSkip root_static_path test on non-posix OSes 1527/head
Ben Darnell [Sun, 27 Sep 2015 23:15:13 +0000 (19:15 -0400)] 
Skip root_static_path test on non-posix OSes

9 years agoAdd appveyor.yml for windows CI.
Ben Darnell [Sun, 27 Sep 2015 23:05:22 +0000 (19:05 -0400)] 
Add appveyor.yml for windows CI.

9 years agoUnbreak static file paths of '/'.
Ben Darnell [Sun, 27 Sep 2015 22:44:30 +0000 (18:44 -0400)] 
Unbreak static file paths of '/'.

9 years agoSupport non-ascii template filenames.
Ben Darnell [Sun, 27 Sep 2015 22:29:54 +0000 (18:29 -0400)] 
Support non-ascii template filenames.

Fixes #1502.

9 years agoDocument interactions with TornadoReactor and multi-process.
Ben Darnell [Sun, 27 Sep 2015 22:09:16 +0000 (18:09 -0400)] 
Document interactions with TornadoReactor and multi-process.

See #1501.

9 years agoUse autodoc for asyncio and twisted docs.
Ben Darnell [Sun, 27 Sep 2015 20:52:04 +0000 (16:52 -0400)] 
Use autodoc for asyncio and twisted docs.

9 years agoioloop: add_callback_from_signal() calls add_callback()
Ben Darnell [Sun, 27 Sep 2015 20:03:54 +0000 (16:03 -0400)] 
ioloop: add_callback_from_signal() calls add_callback()

Now that add_callback checks thread.ident() and no longer deadlocks from
a signal handler, add_callback_from_signal can call it unconditionally.

9 years agoMerge pull request #1511 from jampp/master
Ben Darnell [Sun, 27 Sep 2015 20:00:45 +0000 (16:00 -0400)] 
Merge pull request #1511 from jampp/master

Remove synchronization in add_callback from the ioloop thread

9 years agoMove redirect streaming callback test to simple_httpclient only. 1526/head
Ben Darnell [Sun, 27 Sep 2015 19:08:40 +0000 (15:08 -0400)] 
Move redirect streaming callback test to simple_httpclient only.

This test passes with recent versions of libcurl but fails
with the version available on travis-ci.

9 years agoAdd some diagnostics for travis versions.
Ben Darnell [Sun, 27 Sep 2015 18:08:24 +0000 (14:08 -0400)] 
Add some diagnostics for travis versions.

9 years agoImprove docs for current_user; describe async use from prepare()
Ben Darnell [Sun, 27 Sep 2015 18:06:55 +0000 (14:06 -0400)] 
Improve docs for current_user; describe async use from prepare()

9 years agosimple_httpclient: Don't call streaming_callback for redirects.
Ben Darnell [Sun, 27 Sep 2015 17:26:21 +0000 (13:26 -0400)] 
simple_httpclient: Don't call streaming_callback for redirects.

Fixes #1518.

9 years agoQuiet another error that can be caused by port scans.
Ben Darnell [Sun, 27 Sep 2015 17:05:58 +0000 (13:05 -0400)] 
Quiet another error that can be caused by port scans.

9 years agoFix typo in websocket_connect docs.
Ben Darnell [Sun, 27 Sep 2015 16:33:30 +0000 (12:33 -0400)] 
Fix typo in websocket_connect docs.

Fixes #1522.

9 years agoRemove unnecessary word from Application docstring
Michael V. DePalatis [Tue, 22 Sep 2015 21:49:40 +0000 (23:49 +0200)] 
Remove unnecessary word from Application docstring

9 years agoMerge pull request #1524 from lichun19960112/master
Ben Darnell [Sun, 27 Sep 2015 16:29:33 +0000 (12:29 -0400)] 
Merge pull request #1524 from lichun19960112/master

Update webspider demo support Python 3

9 years agoMerge pull request #1525 from bdarnell/fix-coverage
Ben Darnell [Sun, 27 Sep 2015 16:28:00 +0000 (12:28 -0400)] 
Merge pull request #1525 from bdarnell/fix-coverage

Fix coverage installation for py32.

9 years agoFix coverage installation for py32. 1525/head
Ben Darnell [Sun, 27 Sep 2015 15:58:07 +0000 (11:58 -0400)] 
Fix coverage installation for py32.

9 years agoUpdate webspider demo support Python 3 1524/head
lichun [Sat, 26 Sep 2015 04:23:58 +0000 (12:23 +0800)] 
Update webspider demo support Python 3

9 years agoRemove stale comment.
Ben Darnell [Tue, 15 Sep 2015 13:27:26 +0000 (09:27 -0400)] 
Remove stale comment.

9 years agoReplace `gen.Multi` and `gen.multi_future` with `gen.multi`.
Ben Darnell [Tue, 15 Sep 2015 03:27:18 +0000 (23:27 -0400)] 
Replace `gen.Multi` and `gen.multi_future` with `gen.multi`.

`multi_future` is awkward to type but is much more prominent
in native coroutines. The new function `multi` has a more
convenient name and delegates to either the YieldPoint
or Future version automatically.

For backwards compatibility, `multi_future` is still around,
and `Multi` was renamed to `MultiYieldPoint` so that we don't
have two different objects whose names differ only in case
(`Multi` is now an alias for `multi`).

See #1493.

9 years agoImport t.p.asyncio automatically when available in gen.
Ben Darnell [Tue, 15 Sep 2015 02:42:41 +0000 (22:42 -0400)] 
Import t.p.asyncio automatically when available in gen.

This makes the _wrap_awaitable infinite recursion less likely
to occur, although it could show up again when another coroutine
framework adopts PEP 492.

Fixes #1499.

9 years agoSimplify OptionParser._TIMEDELTA_ABBREV_DICT.
Ben Darnell [Mon, 14 Sep 2015 13:50:48 +0000 (09:50 -0400)] 
Simplify OptionParser._TIMEDELTA_ABBREV_DICT.

Cython doesn't like having the more complex logic at class scope.

9 years agoClarify comment about `@cython.binding`.
Ben Darnell [Tue, 15 Sep 2015 00:29:53 +0000 (20:29 -0400)] 
Clarify comment about `@cython.binding`.

It's only necessary for static functions, not methods.

9 years agoMake ArgReplacer compatible with cython-compiled functions.
Ben Darnell [Mon, 14 Sep 2015 04:50:26 +0000 (00:50 -0400)] 
Make ArgReplacer compatible with cython-compiled functions.

This requires a directive in the cython code to make the signature
introspectable.

9 years agoSupport coroutines compiled with cython
Ben Darnell [Mon, 14 Sep 2015 03:13:43 +0000 (23:13 -0400)] 
Support coroutines compiled with cython

On Python 3.5, this means supporting awaitables that are not
iterables. On older versions of python, this includes
* In `@gen.coroutine`, recognizing cython's coroutines
  via the backports_abc module.
* At various points in the gen module, recognize cython's
  use of `StopIteration.args[0]` in place of `StopIteration.value`.
* Implementing Future.__await__ and _wrap_awaitable for
  pre-3.3 versions of python.

9 years agoMake HTTPHeaders a subclass of MutableMapping ABC instead of dict.
Ben Darnell [Sun, 13 Sep 2015 17:15:06 +0000 (13:15 -0400)] 
Make HTTPHeaders a subclass of MutableMapping ABC instead of dict.

This simplifies the implementation since MutableMapping is designed
for subclassing while dict has many special cases that need to be
overridden. In particular, this change fixes the setdefault()
method.

Fixes #1500.

9 years agoMerge pull request #1514 from noxiouz/add_soreuseport
Ben Darnell [Sun, 13 Sep 2015 00:31:18 +0000 (20:31 -0400)] 
Merge pull request #1514 from noxiouz/add_soreuseport

netutil.bind_sockets: add `reuse_port` option to set SO_REUSEPORT

9 years agonetutil.bind_sockets: add `reuse_port` option to set SO_REUSEPORT 1514/head
Anton Tiurin [Wed, 9 Sep 2015 11:36:21 +0000 (14:36 +0300)] 
netutil.bind_sockets: add `reuse_port` option to set SO_REUSEPORT

This option is False by default, because not all platforms support
it.

Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>
9 years agoMerge pull request #1479 from mr-ping/master
Ben Darnell [Sun, 6 Sep 2015 14:24:59 +0000 (10:24 -0400)] 
Merge pull request #1479 from mr-ping/master

add timed rotating mode for logging into separated files in tornado.log

9 years agoRemove type-checker for log_rotate_mode option 1479/head
Ping [Sun, 6 Sep 2015 06:56:34 +0000 (14:56 +0800)] 
Remove type-checker for log_rotate_mode option

9 years agoRaise an error when invalid option
Ping [Fri, 28 Aug 2015 00:47:50 +0000 (08:47 +0800)] 
Raise an error when invalid option

9 years agoChange variable names and streamline test method
Ping [Tue, 11 Aug 2015 05:41:44 +0000 (13:41 +0800)] 
Change variable names and streamline test method

9 years agoadd timed rotating mode for logging into separated files in tornado.log
Ping [Wed, 5 Aug 2015 07:15:31 +0000 (15:15 +0800)] 
add timed rotating mode for logging into separated files in tornado.log

9 years agoRemove useless lines, noused import and variable
fydot [Wed, 2 Sep 2015 17:46:42 +0000 (01:46 +0800)] 
Remove useless lines, noused import and variable

9 years agoRemove stale comment 1511/head
Claudio Freire [Wed, 2 Sep 2015 19:10:19 +0000 (16:10 -0300)] 
Remove stale comment

9 years agoMove closed check inside the callback_lock
Claudio Freire [Wed, 2 Sep 2015 19:09:52 +0000 (16:09 -0300)] 
Move closed check inside the callback_lock

9 years agoFix comments around add_callback
Claudio Freire [Wed, 2 Sep 2015 18:07:55 +0000 (15:07 -0300)] 
Fix comments around add_callback

Update the comments on the rationale for lock usage, and
make sure to always check self._closing

9 years agoRemove synchronization for add_callback in the ioloop thread
Claudio Freire [Wed, 2 Sep 2015 17:32:46 +0000 (14:32 -0300)] 
Remove synchronization for add_callback in the ioloop thread

It is not necessary, since it will never need to invoke
wake, and as noted in add_callback_from_signal it would pose
no race risk, and it is a considerable performance penalty.

9 years agoFix PDF doc build.
Ben Darnell [Wed, 26 Aug 2015 18:13:23 +0000 (20:13 +0200)] 
Fix PDF doc build.

This appears to have been broken for a while but I've only recently been
getting notifications from readthedocs.org.

9 years agoMerge pull request #1495 from stevepeak/master
Ben Darnell [Wed, 26 Aug 2015 13:16:31 +0000 (15:16 +0200)] 
Merge pull request #1495 from stevepeak/master

use Codecov as coverage provider

9 years agotrigger travis, debug complete 1495/head
Steve Peak [Wed, 26 Aug 2015 03:28:22 +0000 (23:28 -0400)] 
trigger travis, debug complete

9 years agotrigger travis again for debugging
Steve Peak [Tue, 25 Aug 2015 23:43:46 +0000 (19:43 -0400)] 
trigger travis again for debugging

9 years agoTest on str, not bytes for Python3x 1494/head
Willem de Groot [Tue, 25 Aug 2015 12:05:46 +0000 (14:05 +0200)] 
Test on str, not bytes for Python3x

9 years agoAdd multi-line header test
Willem de Groot [Tue, 25 Aug 2015 11:34:52 +0000 (13:34 +0200)] 
Add multi-line header test

9 years agoOnly call on specific py versions
Steve Peak [Mon, 24 Aug 2015 14:29:59 +0000 (10:29 -0400)] 
Only call on specific py versions

9 years agoGenerate coverage reports in maint
Steve Peak [Mon, 24 Aug 2015 14:21:26 +0000 (10:21 -0400)] 
Generate coverage reports in maint

This was when `codecov` is called from the project root the coverage xml files will be found and uploaded

9 years agoDebug .coverage
Steve Peak [Mon, 24 Aug 2015 14:00:03 +0000 (10:00 -0400)] 
Debug .coverage

9 years agoFix incorrect inspection of WebSocket RSV1 bit. 1497/head
Codeb Fan [Mon, 24 Aug 2015 07:02:55 +0000 (15:02 +0800)] 
Fix incorrect inspection of WebSocket RSV1 bit.

`_frame_compressed` should not be overwrite in continuation frames. According to the Protocol:
https://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-13#section-8.2.3.1
"the RSV1 bit is set only on the first frame"

9 years agouse Codecov as coverage provider
Steve Peak [Fri, 21 Aug 2015 18:36:29 +0000 (14:36 -0400)] 
use Codecov as coverage provider

9 years agoAllow multi-line headers
Willem de Groot [Fri, 21 Aug 2015 12:51:40 +0000 (14:51 +0200)] 
Allow multi-line headers

9 years agoMerge pull request #1488 from jsarenik/jasan/html5
Ben Darnell [Sun, 16 Aug 2015 17:28:14 +0000 (19:28 +0200)] 
Merge pull request #1488 from jsarenik/jasan/html5

Simplify HTML templates by using HTML5

9 years agoSimplify HTML templates by using HTML5 1488/head
Jan Sarenik [Sun, 16 Aug 2015 06:51:06 +0000 (08:51 +0200)] 
Simplify HTML templates by using HTML5

9 years agoMerge pull request #1482 from ms7s/fix-read_until_close-callback
Ben Darnell [Tue, 11 Aug 2015 03:33:31 +0000 (23:33 -0400)] 
Merge pull request #1482 from ms7s/fix-read_until_close-callback

Fix error handling in read_until_close

9 years agoFix error handling in read_until_close 1482/head
Martin Sucha [Fri, 7 Aug 2015 13:42:48 +0000 (15:42 +0200)] 
Fix error handling in read_until_close

When a callback is supplied, the future is not created. Make sure
it is used only if it was initialized, otherwise we lose the
error that was originally raised.

9 years agoThird time's the charm for _locale_data.py
Ben Darnell [Sun, 9 Aug 2015 03:04:27 +0000 (23:04 -0400)] 
Third time's the charm for _locale_data.py

9 years agoFix _local_data.py for py32.
Ben Darnell [Sat, 8 Aug 2015 22:29:13 +0000 (18:29 -0400)] 
Fix _local_data.py for py32.

9 years agoConvert unicode escapes in _locale_data.py to real unicode characters.
Ben Darnell [Sun, 2 Dec 2012 23:57:30 +0000 (18:57 -0500)] 
Convert unicode escapes in _locale_data.py to real unicode characters.

9 years agoMove LOCALE_NAMES data into a separate file.
Ben Darnell [Sun, 2 Dec 2012 23:53:35 +0000 (18:53 -0500)] 
Move LOCALE_NAMES data into a separate file.

9 years agoUpdate next-release notes
Ben Darnell [Sat, 8 Aug 2015 22:04:14 +0000 (18:04 -0400)] 
Update next-release notes

9 years agoAdd more warnings filters in twisted_test.
Ben Darnell [Fri, 7 Aug 2015 16:07:58 +0000 (12:07 -0400)] 
Add more warnings filters in twisted_test.

Necessary for green builds with Twisted 15.3 on Python 3.x.

10 years agoMerge pull request #1476 from bdarnell/async-statements
Ben Darnell [Mon, 3 Aug 2015 04:19:09 +0000 (00:19 -0400)] 
Merge pull request #1476 from bdarnell/async-statements

Support Python 3.5 `async` statements

10 years agoExpand comment on `async with`. 1476/head
Ben Darnell [Mon, 3 Aug 2015 03:57:27 +0000 (23:57 -0400)] 
Expand comment on `async with`.

10 years agoLazy-load StopAsyncIteration in a more future-proof way.
Ben Darnell [Mon, 3 Aug 2015 03:56:22 +0000 (23:56 -0400)] 
Lazy-load StopAsyncIteration in a more future-proof way.

Fixes the test on nightly cpython.

10 years agoDisable coverage collection on the 'nightly' python version.
Ben Darnell [Mon, 3 Aug 2015 02:40:16 +0000 (22:40 -0400)] 
Disable coverage collection on the 'nightly' python version.

10 years agoAdd versionchanged tags for async statements.
Ben Darnell [Mon, 3 Aug 2015 02:05:41 +0000 (22:05 -0400)] 
Add versionchanged tags for async statements.

10 years agoImplement async iteration in WaitIterator.
Ben Darnell [Mon, 3 Aug 2015 02:03:20 +0000 (22:03 -0400)] 
Implement async iteration in WaitIterator.

10 years agoEnable test runs on py35
Ben Darnell [Mon, 3 Aug 2015 01:23:55 +0000 (21:23 -0400)] 
Enable test runs on py35