chore: some cleanup from ruff --preview checks
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
committed by
Henry Schreiner
parent
2f62696400
commit
183a7c3f1d
@@ -269,10 +269,10 @@ def test_read_dep_groups():
|
||||
|
||||
|
||||
def test_dep_group_no_file_error():
|
||||
with pytest.raises(FileNotFoundError, match="pyproject.toml"):
|
||||
with pytest.raises(FileNotFoundError, match=r"pyproject\.toml"):
|
||||
resolve_dependency_groups(None, "test")
|
||||
|
||||
|
||||
def test_dep_group_no_section_error():
|
||||
with pytest.raises(KeyError, match="pyproject.toml"):
|
||||
with pytest.raises(KeyError, match=r"pyproject\.toml"):
|
||||
resolve_dependency_groups({}, "test")
|
||||
|
||||
Reference in New Issue
Block a user