File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 2727# OR OTHER DEALINGS IN THE SOFTWARE.
2828#
2929import re
30+ import sys
3031
3132# 3rd party
3233import pytest as pytest
159160 f'{ MINIMAL_CONFIG } \n dependencies = ["foo]]]"]' ,
160161 InvalidRequirement ,
161162 r"'foo]]]'\n Expected end or semicolon \(after name and no valid version specifier\)\n foo]]]\n \^" ,
162- id = "dependencies_invalid_requirement"
163+ id = "dependencies_invalid_requirement" ,
164+ marks = pytest .mark .skipif (sys .version_info < (3 , 7 ), reason = "Error differs on 3.6" ),
165+ ),
166+ pytest .param (
167+ f'{ MINIMAL_CONFIG } \n dependencies = ["foo]]]"]' ,
168+ InvalidRequirement ,
169+ r"'foo]]]'\n Parse error at \"']]]'\": Expected string_end" ,
170+ id = "dependencies_invalid_requirement" ,
171+ marks = pytest .mark .skipif (sys .version_info >= (3 , 7 ), reason = "Error differs on 3.6" ),
163172 ),
164173 pytest .param (
165174 f'{ MINIMAL_CONFIG } \n readme = "README.rst"' ,
You can’t perform that action at this time.
0 commit comments