diff options
author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2023-03-07 18:18:34 +0000 |
---|---|---|
committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2023-05-03 14:06:38 +0100 |
commit | 64f35f051a26631fdce0437099d86e1ca524e19d (patch) | |
tree | 1b5638640e2b85250dc3c412735249be1ca582d1 /setuptools/tests | |
parent | f5ca18b4836ccfc29b2e84932d774aa3054e9a82 (diff) | |
download | python-setuptools-git-dev/egg_info_requires.tar.gz |
Minor adjustments in apply_pyproject.tomldev/egg_info_requires
Diffstat (limited to 'setuptools/tests')
-rw-r--r-- | setuptools/tests/config/test_apply_pyprojecttoml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/config/test_apply_pyprojecttoml.py b/setuptools/tests/config/test_apply_pyprojecttoml.py index c9c521be..b08f4164 100644 --- a/setuptools/tests/config/test_apply_pyprojecttoml.py +++ b/setuptools/tests/config/test_apply_pyprojecttoml.py @@ -379,12 +379,12 @@ class TestPresetField: dist = makedist(tmp_path, install_requires=install_req) dist = pyprojecttoml.apply_configuration(dist, pyproject) assert "foo" in dist.extras_require - assert ':python_version < "3.7"' in dist.extras_require egg_info = dist.get_command_obj("egg_info") write_requirements(egg_info, tmp_path, tmp_path / "requires.txt") reqs = (tmp_path / "requires.txt").read_text(encoding="utf-8") assert "importlib-resources" in reqs assert "bar" in reqs + assert ':python_version < "3.7"' in reqs @pytest.mark.parametrize( "field,group", |