Skip to content

Commit 410ef2b

Browse files
committed
Python 3.8 related
Signed-off-by: Aleksei Stepanov <penguinolog@gmail.com>
1 parent 96442cf commit 410ef2b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ _python:
1616
- &python37
1717
name: "Python 3.7"
1818
python: "3.7"
19+
- &python38
20+
name: "Python 3.8"
21+
python: "3.8"
1922

2023
_helpers:
2124
- &install_cython pip install --upgrade Cython
@@ -106,11 +109,15 @@ jobs:
106109
<<: *python36
107110
- stage: test
108111
<<: *python37
112+
- stage: test
113+
<<: *python38
109114

110115
- <<: *test_cythonized
111116
<<: *python36
112117
- <<: *test_cythonized
113118
<<: *python37
119+
- <<: *test_cythonized
120+
<<: *python38
114121

115122
- stage: deploy
116123
# This prevents job from appearing in test plan unless commit is tagged:

test/async_api/test_subprocess.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import asyncio
1717
import logging
1818
import random
19+
import sys
1920
import typing
2021
from unittest import mock
2122

@@ -199,6 +200,7 @@ def logger(mocker):
199200
return mocker.patch("exec_helpers.async_api.subprocess_runner.Subprocess.logger", autospec=True)
200201

201202

203+
@pytest.mark.skipif(sys.version_info >= (3, 8), reason="Python 3.8 is not supported now by asynctest")
202204
async def test_001_execute_async(create_subprocess_shell, logger, run_parameters) -> None:
203205
"""Test low level API."""
204206
runner = exec_helpers.async_api.Subprocess()

0 commit comments

Comments
 (0)