From 7b4fbc33b082c9f37feed371c46f0992205682c9 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 14 Feb 2024 15:54:27 -0300 Subject: [PATCH] Update testing/test_config.py --- testing/test_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_config.py b/testing/test_config.py index 8ff03261c..c3763fd1c 100644 --- a/testing/test_config.py +++ b/testing/test_config.py @@ -168,7 +168,7 @@ class TestParseIni: assert config.inipath == pytester.path / "foo/bar/pyproject.toml" def test_pytest_ini_trumps_pyproject_toml(self, pytester: Pytester) -> None: - """An empty pyproject.toml is considered as config if no other option is found.""" + """A pytest.ini always take precedence over a pyproject.toml file.""" pytester.makepyprojecttoml("[tool.pytest.ini_options]") pytest_ini = pytester.makefile(".ini", pytest="") config = pytester.parseconfig()