Skip to content

Commit 968ea7d

Browse files
committed
Remove incorrect docstring
Signed-off-by: Bernát Gábor <[email protected]>
1 parent b365892 commit 968ea7d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/tox_env/python/pip/test_req_file.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ def test_deps_with_requirements_with_hash(tmp_path: Path) -> None:
4141

4242

4343
def test_deps_with_no_deps(tmp_path: Path) -> None:
44-
"""deps with --hash should raise an exception."""
4544
(tmp_path / "r.txt").write_text("urrlib3")
4645
python_deps = PythonDeps(raw="-rr.txt\n--no-deps", root=tmp_path)
4746

@@ -54,15 +53,13 @@ def test_deps_with_no_deps(tmp_path: Path) -> None:
5453

5554

5655
def test_req_with_no_deps(tmp_path: Path) -> None:
57-
"""deps with --hash should raise an exception."""
5856
(tmp_path / "r.txt").write_text("--no-deps")
5957
python_deps = PythonDeps(raw="-rr.txt", root=tmp_path)
6058
with pytest.raises(ValueError, match="unrecognized arguments: --no-deps"):
6159
python_deps.requirements
6260

6361

6462
def test_opt_only_req_file(tmp_path: Path) -> None:
65-
"""deps with --hash should raise an exception."""
6663
(tmp_path / "r.txt").write_text("--use-feature fast-deps")
6764
python_deps = PythonDeps(raw="-rr.txt", root=tmp_path)
6865
assert not python_deps.requirements

0 commit comments

Comments
 (0)