diff --git a/dev-requirements.txt b/dev-requirements.txt index 6537a9a4448..b63248c7f0e 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -6,7 +6,7 @@ mypy==0.770 sphinx~=2.1 sphinx-rtd-theme~=0.4 sphinx-autodoc-typehints~=1.10.2 -pytest!=5.2.3 +pytest>=6.0 pytest-cov>=2.8 readme-renderer~=24.0 grpcio-tools==1.29.0 diff --git a/pyproject.toml b/pyproject.toml index db4df73b69e..0c79406d055 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,3 +13,7 @@ exclude = ''' )/ ) ''' +[tool.pytest.ini_options] +addopts = "-rs -v" +log_cli = true +log_cli_level = "warning" diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 013d2c555c3..00000000000 --- a/pytest.ini +++ /dev/null @@ -1,4 +0,0 @@ -[pytest] -addopts = -rs -v -log_cli = true -log_cli_level = warning