Fix #677: Enable CI for python 3.10

Fix #689: test_django fails on py3.10

Re-enable Django tests on Python 3.10, and add it to CI runs.
This commit is contained in:
Pavel Minaev 2021-11-03 15:57:17 -07:00
parent 655e35642c
commit e25fc1dcca
2 changed files with 7 additions and 4 deletions

View file

@ -49,6 +49,8 @@ jobs:
python.version: "3.8"
py39:
python.version: "3.9"
py310:
python.version: "3.10"
steps:
- script: |
@ -80,6 +82,8 @@ jobs:
python.version: "3.8"
py39:
python.version: "3.9"
py310:
python.version: "3.10"
steps:
- script: |
@ -113,6 +117,8 @@ jobs:
python.version: "3.8"
py39:
python.version: "3.9"
py310:
python.version: "3.10"
py27_32:
python.version: "2.7"
architecture: "x86"

View file

@ -12,10 +12,7 @@ from tests import code, debug, log, net, test_data
from tests.debug import runners, targets
from tests.patterns import some
pytestmark = [
pytest.mark.timeout(60),
pytest.mark.skipif(sys.version_info >= (3, 10), reason="https://github.com/microsoft/debugpy/issues/689"),
]
pytestmark = pytest.mark.timeout(60)
django_server = net.WebServer(net.get_test_server_port(8000, 8100))