[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
5c1530186a
commit
6ee7985e85
1 changed files with 3 additions and 1 deletions
|
|
@ -274,7 +274,9 @@ def test_a_record_without_its_package_is_reported_missing(monkeypatch, capsys, t
|
|||
locate_file = lambda name: site_packages / name,
|
||||
)
|
||||
monkeypatch.setattr(
|
||||
importlib.import_module("importlib.metadata"), "distribution", lambda _name: installed,
|
||||
importlib.import_module("importlib.metadata"),
|
||||
"distribution",
|
||||
lambda _name: installed,
|
||||
)
|
||||
|
||||
with pytest.raises(typer.Exit):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue