Skip to content

Commit 2f55878

Browse files
committed
Type fix
1 parent acee9cc commit 2f55878

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/unit/test_utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ def test_builder_found(
142142
monkeypatch: The pytest Monkeypatch fixture
143143
session_venv: The session venv
144144
145-
Raises:
146-
AssertionError: if either file is not found
147145
"""
148146

149147
@property # type: ignore[misc]
@@ -203,11 +201,12 @@ def test_str_to_bool() -> None:
203201
assert str_to_bool("anything else") is None
204202

205203

206-
def test_opt_deps_to_files(tmp_path: Path, capsys: pytest.LogCaptureFixture) -> None:
204+
def test_opt_deps_to_files(tmp_path: Path, capsys: pytest.CaptureFixture[str]) -> None:
207205
"""Test the opt_deps_to_files function.
208206
209207
Args:
210208
tmp_path: A temporary path
209+
capsys: The pytest LogCaptureFixture
211210
"""
212211
# Create a temporary file with some content
213212
f1 = tmp_path / "test-requirements.txt"

0 commit comments

Comments
 (0)