Skip to content

Commit 6baf9f2

Browse files
committed
Update docs and code after dropping EOL 3.7
1 parent 6995257 commit 6baf9f2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

doc/en/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The ``pytest`` framework makes it easy to write small, readable tests, and can
1818
scale to support complex functional testing for applications and libraries.
1919

2020

21-
``pytest`` requires: Python 3.7+ or PyPy3.
21+
``pytest`` requires: Python 3.8+ or PyPy3.
2222

2323
**PyPI package name**: :pypi:`pytest`
2424

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ template = "changelog/_template.rst"
113113
showcontent = true
114114

115115
[tool.black]
116-
target-version = ['py37']
116+
target-version = ['py38']
117117

118118
# check-wheel-contents is executed by the build-and-inspect-python-package action.
119119
[tool.check-wheel-contents]

testing/_py/test_local.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,17 +1519,17 @@ def test_chown_identity_rec_mayfail(self, path1):
15191519
path1.chown(owner, group)
15201520

15211521

1522-
class TestUnicodePy2Py3:
1522+
class TestUnicode:
15231523
def test_join_ensure(self, tmpdir, monkeypatch):
1524-
if sys.version_info >= (3, 0) and "LANG" not in os.environ:
1524+
if "LANG" not in os.environ:
15251525
pytest.skip("cannot run test without locale")
15261526
x = local(tmpdir.strpath)
15271527
part = "hällo"
15281528
y = x.ensure(part)
15291529
assert x.join(part) == y
15301530

15311531
def test_listdir(self, tmpdir):
1532-
if sys.version_info >= (3, 0) and "LANG" not in os.environ:
1532+
if "LANG" not in os.environ:
15331533
pytest.skip("cannot run test without locale")
15341534
x = local(tmpdir.strpath)
15351535
part = "hällo"

0 commit comments

Comments
 (0)