Merge pull request #11169 from hugovk/test-me-rm-3.7
This commit is contained in:
commit
97ed533f63
|
@ -8,7 +8,7 @@ repos:
|
||||||
rev: 1.14.0
|
rev: 1.14.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: blacken-docs
|
- id: blacken-docs
|
||||||
additional_dependencies: [black==23.1.0]
|
additional_dependencies: [black==23.3.0]
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.4.0
|
rev: v4.4.0
|
||||||
hooks:
|
hooks:
|
||||||
|
|
|
@ -19,7 +19,7 @@ The ``pytest`` framework makes it easy to write small, readable tests, and can
|
||||||
scale to support complex functional testing for applications and libraries.
|
scale to support complex functional testing for applications and libraries.
|
||||||
|
|
||||||
|
|
||||||
``pytest`` requires: Python 3.7+ or PyPy3.
|
``pytest`` requires: Python 3.8+ or PyPy3.
|
||||||
|
|
||||||
**PyPI package name**: :pypi:`pytest`
|
**PyPI package name**: :pypi:`pytest`
|
||||||
|
|
||||||
|
|
|
@ -113,7 +113,7 @@ template = "changelog/_template.rst"
|
||||||
showcontent = true
|
showcontent = true
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
target-version = ['py37']
|
target-version = ['py38']
|
||||||
|
|
||||||
# check-wheel-contents is executed by the build-and-inspect-python-package action.
|
# check-wheel-contents is executed by the build-and-inspect-python-package action.
|
||||||
[tool.check-wheel-contents]
|
[tool.check-wheel-contents]
|
||||||
|
|
|
@ -1519,9 +1519,9 @@ class TestPOSIXLocalPath:
|
||||||
path1.chown(owner, group)
|
path1.chown(owner, group)
|
||||||
|
|
||||||
|
|
||||||
class TestUnicodePy2Py3:
|
class TestUnicode:
|
||||||
def test_join_ensure(self, tmpdir, monkeypatch):
|
def test_join_ensure(self, tmpdir, monkeypatch):
|
||||||
if sys.version_info >= (3, 0) and "LANG" not in os.environ:
|
if "LANG" not in os.environ:
|
||||||
pytest.skip("cannot run test without locale")
|
pytest.skip("cannot run test without locale")
|
||||||
x = local(tmpdir.strpath)
|
x = local(tmpdir.strpath)
|
||||||
part = "hällo"
|
part = "hällo"
|
||||||
|
@ -1529,7 +1529,7 @@ class TestUnicodePy2Py3:
|
||||||
assert x.join(part) == y
|
assert x.join(part) == y
|
||||||
|
|
||||||
def test_listdir(self, tmpdir):
|
def test_listdir(self, tmpdir):
|
||||||
if sys.version_info >= (3, 0) and "LANG" not in os.environ:
|
if "LANG" not in os.environ:
|
||||||
pytest.skip("cannot run test without locale")
|
pytest.skip("cannot run test without locale")
|
||||||
x = local(tmpdir.strpath)
|
x = local(tmpdir.strpath)
|
||||||
part = "hällo"
|
part = "hällo"
|
||||||
|
|
Loading…
Reference in New Issue