File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1+ Fix dependency-group name normalization.
Original file line number Diff line number Diff line change @@ -334,14 +334,14 @@ def test_dependency_groups_not_list(tox_project: ToxProjectCreator) -> None:
334334 """ ,
335335 "pyproject.toml" : """
336336 [dependency-groups]
337- test = 1
337+ teSt = 1
338338 """ ,
339339 },
340340 )
341341 result = project .run ("r" , "-e" , "py" )
342342
343343 result .assert_failed ()
344- assert "py: failed with dependency group 'test ' is not a list\n " in result .out
344+ assert "py: failed with dependency group 'teSt ' is not a list\n " in result .out
345345
346346
347347def test_dependency_groups_bad_requirement (tox_project : ToxProjectCreator ) -> None :
@@ -398,12 +398,12 @@ def test_dependency_groups_cyclic(tox_project: ToxProjectCreator) -> None:
398398 """ ,
399399 "pyproject.toml" : """
400400 [dependency-groups]
401- test = [ { include-group = "type" } ]
402- type = [ { include-group = "test" } ]
401+ teSt = [ { include-group = "type" } ]
402+ tyPe = [ { include-group = "test" } ]
403403 """ ,
404404 },
405405 )
406406 result = project .run ("r" , "-e" , "py" )
407407
408408 result .assert_failed ()
409- assert "py: failed with Cyclic dependency group include: 'test ' -> ('test ', 'type ')\n " in result .out
409+ assert "py: failed with Cyclic dependency group include: 'teSt ' -> ('teSt ', 'tyPe ')\n " in result .out
You can’t perform that action at this time.
0 commit comments