From 968ea7d7c3b11e82c3f93e0af78068e8b1376e17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Sun, 18 Dec 2022 17:37:28 -0800 Subject: Remove incorrect docstring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bernát Gábor --- tests/tox_env/python/pip/test_req_file.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/tox_env/python/pip/test_req_file.py b/tests/tox_env/python/pip/test_req_file.py index b74dc149..de826163 100644 --- a/tests/tox_env/python/pip/test_req_file.py +++ b/tests/tox_env/python/pip/test_req_file.py @@ -41,7 +41,6 @@ def test_deps_with_requirements_with_hash(tmp_path: Path) -> None: def test_deps_with_no_deps(tmp_path: Path) -> None: - """deps with --hash should raise an exception.""" (tmp_path / "r.txt").write_text("urrlib3") python_deps = PythonDeps(raw="-rr.txt\n--no-deps", root=tmp_path) @@ -54,7 +53,6 @@ def test_deps_with_no_deps(tmp_path: Path) -> None: def test_req_with_no_deps(tmp_path: Path) -> None: - """deps with --hash should raise an exception.""" (tmp_path / "r.txt").write_text("--no-deps") python_deps = PythonDeps(raw="-rr.txt", root=tmp_path) with pytest.raises(ValueError, match="unrecognized arguments: --no-deps"): @@ -62,7 +60,6 @@ def test_req_with_no_deps(tmp_path: Path) -> None: def test_opt_only_req_file(tmp_path: Path) -> None: - """deps with --hash should raise an exception.""" (tmp_path / "r.txt").write_text("--use-feature fast-deps") python_deps = PythonDeps(raw="-rr.txt", root=tmp_path) assert not python_deps.requirements -- cgit v1.2.1