diff options
author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-03-27 00:44:30 +0000 |
---|---|---|
committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-03-27 00:50:17 +0000 |
commit | dbf59885a09a1b7b23cba78b1c791cf4060b396d (patch) | |
tree | 3224e6a6c8f191aaa83dc26207cb6c3844b684e6 /setuptools/tests/config/test_pyprojecttoml.py | |
parent | c8ba27c4afb185ffddff6c754e3f091068e1b27a (diff) | |
download | python-setuptools-git-dbf59885a09a1b7b23cba78b1c791cf4060b396d.tar.gz |
Adequate existing tests for the latest changes
Diffstat (limited to 'setuptools/tests/config/test_pyprojecttoml.py')
-rw-r--r-- | setuptools/tests/config/test_pyprojecttoml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/config/test_pyprojecttoml.py b/setuptools/tests/config/test_pyprojecttoml.py index 421445da..63ce7602 100644 --- a/setuptools/tests/config/test_pyprojecttoml.py +++ b/setuptools/tests/config/test_pyprojecttoml.py @@ -236,7 +236,7 @@ class TestClassifiers: pyproject = tmp_path / "pyproject.toml" pyproject.write_text(cleandoc(config)) - with pytest.raises(OptionError, match="No configuration found"): + with pytest.raises(OptionError, match="No configuration .* .classifiers."): read_configuration(pyproject) def test_dynamic_without_file(self, tmp_path): @@ -254,7 +254,7 @@ class TestClassifiers: pyproject.write_text(cleandoc(config)) with pytest.warns(UserWarning, match="File .*classifiers.txt. cannot be found"): expanded = read_configuration(pyproject) - assert not expanded["project"]["classifiers"] + assert "classifiers" not in expanded["project"] @pytest.mark.parametrize( |