We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e13abf commit 061d93fCopy full SHA for 061d93f
setuptools/tests/test_dist.py
@@ -144,8 +144,12 @@ def test_check_specifier():
144
dist = Distribution(attrs)
145
check_specifier(dist, attrs, attrs['python_requires'])
146
147
- # invalid specifier value
148
attrs = {'name': 'foo', 'python_requires': ['>=3.0', '!=3.1']}
+ dist = Distribution(attrs)
149
+ check_specifier(dist, attrs, attrs['python_requires'])
150
+
151
+ # invalid specifier value
152
+ attrs = {'name': 'foo', 'python_requires': '>=invalid-version'}
153
with pytest.raises(DistutilsSetupError):
154
155
0 commit comments