Skip to content

Commit 759912b

Browse files
authored
Merge pull request #53 from hugovk/rm-eol
2 parents 1477356 + 54164d6 commit 759912b

6 files changed

Lines changed: 12 additions & 24 deletions

File tree

.travis.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,21 @@
11
language: python
22
python:
3+
- '3.10-dev'
4+
- '3.9'
35
- '3.8'
4-
- '2.7'
56
- '3.7'
67
- '3.6'
7-
- '3.5'
88
cache: pip
99
install: pip install -U tox setuptools_scm
1010
env:
1111
matrix:
1212
- TOXENV=py-pytest310
1313
- TOXENV=py-pytest46
1414
- TOXENV=py-pytest54
15-
- TOXENV=py-pytest60
15+
- TOXENV=py-pytest62
1616
- TOXENV=py-pytestlatest
17-
- TOXENV=py-pytestmaster
17+
- TOXENV=py-pytestmain
1818
matrix:
19-
exclude:
20-
- python: '2.7' # pytest 5+ does not support Python 2
21-
env: TOXENV=py-pytest54
22-
- python: '2.7' # pytest 5+ does not support Python 2
23-
env: TOXENV=py-pytest60
24-
- python: '2.7' # pytest 5+ does not support Python 2
25-
env: TOXENV=py-pytestmaster
26-
- python: '2.7' # Same as pytest54 for Python 2
27-
env: TOXENV=py-pytestlatest
2819
include:
2920
- python: '3.8'
3021
env: TOXENV=flakes

setup.cfg

Lines changed: 0 additions & 2 deletions
This file was deleted.

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
zip_safe=False,
2222
install_requires=['py', 'pytest>=3.10'],
2323
setup_requires=['setuptools_scm'],
24-
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
24+
python_requires='>=3.6',
2525
classifiers=[
2626
'Development Status :: 7 - Inactive',
2727
'Framework :: Pytest',
@@ -33,12 +33,12 @@
3333
'Topic :: Software Development :: Quality Assurance',
3434
'Topic :: Utilities',
3535
'Programming Language :: Python',
36-
'Programming Language :: Python :: 2',
37-
'Programming Language :: Python :: 2.7',
3836
'Programming Language :: Python :: 3',
39-
'Programming Language :: Python :: 3.5',
4037
'Programming Language :: Python :: 3.6',
4138
'Programming Language :: Python :: 3.7',
4239
'Programming Language :: Python :: 3.8',
40+
'Programming Language :: Python :: 3.9',
41+
'Programming Language :: Python :: 3.10',
42+
'Programming Language :: Python :: 3 :: Only',
4343
],
4444
)

src/pytest_forked/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def runforked():
7171
return [runner.TestReport(**x) for x in report_dumps]
7272
else:
7373
if result.exitstatus == EXITSTATUS_TESTEXIT:
74-
pytest.exit("forked test item %s raised Exit" % (item,))
74+
pytest.exit(f"forked test item {item} raised Exit")
7575
return [report_process_crash(item, result)]
7676

7777

testing/test_xfail_behavior.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""Tests for xfail support."""
32
import os
43
import signal

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
minversion = 3.7.0
44
isolated_build = true
55
envlist=
6-
py{27,35,36,37,38}-pytest{310,46,54,latest}
6+
py{36,37,38,39,310}-pytest{310,46,54,62,latest}
77
flakes
88
build-dists
99
metadata-validation
@@ -16,9 +16,9 @@ deps =
1616
pytest310: pytest~=3.10
1717
pytest46: pytest~=4.6
1818
pytest54: pytest~=5.4
19-
pytest60: pytest~=6.0rc1
19+
pytest62: pytest~=6.2
2020
pytestlatest: pytest
21-
pytestmaster: git+https://github.com/pytest-dev/pytest.git@master
21+
pytestmain: git+https://github.com/pytest-dev/pytest.git@main
2222
platform=linux|darwin
2323
commands=
2424
pytest {posargs}

0 commit comments

Comments
 (0)