summaryrefslogtreecommitdiff
path: root/setuptools/tests
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2022-08-06 10:27:33 +0100
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2022-08-06 11:03:53 +0100
commitff49b9666bb109707316353e75d34a0944e86010 (patch)
tree1e8c59097d235a5658944e30023e427bc86297fc /setuptools/tests
parent506e7e7e1cac6a5d534184d35a20a73e9dd58045 (diff)
downloadpython-setuptools-git-ff49b9666bb109707316353e75d34a0944e86010.tar.gz
setup.cfg parsing: Refactor _parse_requirements_list and warn_accidental_env_marker_misconfig
Diffstat (limited to 'setuptools/tests')
-rw-r--r--setuptools/tests/config/test_setupcfg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/config/test_setupcfg.py b/setuptools/tests/config/test_setupcfg.py
index 28024bc1..d2964fda 100644
--- a/setuptools/tests/config/test_setupcfg.py
+++ b/setuptools/tests/config/test_setupcfg.py
@@ -732,8 +732,8 @@ class TestOptions:
def test_warn_accidental_env_marker_misconfig(self, config, tmpdir):
fake_env(tmpdir, config)
match = (
- r"One of the parsed requirements in (install_requires|extras_require) "
- "section looks like a valid environment marker.*"
+ r"One of the parsed requirements in `(install_requires|extras_require.+)` "
+ "looks like a valid environment marker.*"
)
with pytest.warns(UserWarning, match=match):
with get_dist(tmpdir) as _: