Skip to content

Commit

Permalink
Add latest Python 3.4 and skip some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cecton committed Jul 17, 2017
1 parent 80dc2e2 commit 102534f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ python:
# python3.4.2 has bug in http.cookies module, aiohttp provides fix for it
- 3.4.2
- 3.4.3
- 3.4.6
- 3.5.2
- 3.5
- &mainstream_python 3.6
Expand Down
6 changes: 6 additions & 0 deletions tests/test_run_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,9 @@ def test_background_task_log_when_failing(loop, mocker):
app.logger.exception.assert_called_once_with("Coroutine %r failed", coro)


@pytest.mark.skipif(sys.version_info < (3, 4, 4),
reason="Version of Python < 3.4.4 not supported for this"
"feature")
def test_background_task_system_exit_no_wait(loop, mocker):
skip_if_no_dict(loop)

Expand Down Expand Up @@ -685,6 +688,9 @@ def test_background_task_cancel_and_await_all_tasks(loop, mocker):
"some background tasks have not been cancelled and awaited"


@pytest.mark.skipif(sys.version_info < (3, 4, 4),
reason="Version of Python < 3.4.4 not supported for this"
"feature")
def test_background_task_system_exit_cancel_all_tasks_no_wait(loop, mocker):
skip_if_no_dict(loop)

Expand Down

0 comments on commit 102534f

Please sign in to comment.