File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 240240 "Invalid type for 'build-system.requires': expected <class 'collections.abc.Sequence'>, got <class 'str'>" ,
241241 id = "requires_str"
242242 ),
243+ pytest .param (
244+ '[build-system]\n requires = ["foo]]]"]' ,
245+ InvalidRequirement ,
246+ r"'foo]]]'\n Expected end or semicolon \(after name and no valid version specifier\)\n foo]]]\n \^" ,
247+ id = "requires_invalid_requirement" ,
248+ marks = pytest .mark .skipif (sys .version_info < (3 , 7 ), reason = "Error differs on 3.6" ),
249+ ),
243250 pytest .param (
244251 '[build-system]\n requires = ["foo]]]"]' ,
245252 InvalidRequirement ,
246253 r"'foo]]]'\n Parse error at \"']]]'\": Expected string_end" ,
247- id = "requires_invalid_requirement"
254+ id = "requires_invalid_requirement" ,
255+ marks = pytest .mark .skipif (sys .version_info >= (3 , 7 ), reason = "Error differs on 3.6" ),
248256 ),
249257 pytest .param (
250258 '[build-system]\n requires = ["whey"]\n backend-path = [1234]' ,
You can’t perform that action at this time.
0 commit comments