Skip to content

Commit

Permalink
fix for Pytest 8 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Mar 26, 2024
1 parent 99f4b81 commit e5ff3c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mypy/test/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def run_mypy(args: list[str]) -> None:
if status != 0:
sys.stdout.write(outval)
sys.stderr.write(errval)
pytest.fail(msg="Sample check failed", pytrace=False)
pytest.fail(reason="Sample check failed", pytrace=False)


def diff_ranges(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ extra-standard-library = ["typing_extensions"]
ignore = ["**/.readthedocs.yaml"]

[tool.pytest.ini_options]
minversion = "6.0.0"
minversion = "7.0.0"
testpaths = ["mypy/test", "mypyc/test"]
python_files = 'test*.py'

Expand Down

0 comments on commit e5ff3c9

Please sign in to comment.