Skip to content

Commit db37e34

Browse files
authored
Merge branch 'main' into add-none-support-approxmapping
2 parents c5b1309 + 97ed533 commit db37e34

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repos:
88
rev: 1.14.0
99
hooks:
1010
- id: blacken-docs
11-
additional_dependencies: [black==23.1.0]
11+
additional_dependencies: [black==23.3.0]
1212
- repo: https://github.com/pre-commit/pre-commit-hooks
1313
rev: v4.4.0
1414
hooks:

doc/en/index.rst

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

2121

22-
``pytest`` requires: Python 3.7+ or PyPy3.
22+
``pytest`` requires: Python 3.8+ or PyPy3.
2323

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

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)