File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ def test_deps_with_requirements_with_hash(tmp_path: Path) -> None:
41
41
42
42
43
43
def test_deps_with_no_deps (tmp_path : Path ) -> None :
44
- """deps with --hash should raise an exception."""
45
44
(tmp_path / "r.txt" ).write_text ("urrlib3" )
46
45
python_deps = PythonDeps (raw = "-rr.txt\n --no-deps" , root = tmp_path )
47
46
@@ -54,15 +53,13 @@ def test_deps_with_no_deps(tmp_path: Path) -> None:
54
53
55
54
56
55
def test_req_with_no_deps (tmp_path : Path ) -> None :
57
- """deps with --hash should raise an exception."""
58
56
(tmp_path / "r.txt" ).write_text ("--no-deps" )
59
57
python_deps = PythonDeps (raw = "-rr.txt" , root = tmp_path )
60
58
with pytest .raises (ValueError , match = "unrecognized arguments: --no-deps" ):
61
59
python_deps .requirements
62
60
63
61
64
62
def test_opt_only_req_file (tmp_path : Path ) -> None :
65
- """deps with --hash should raise an exception."""
66
63
(tmp_path / "r.txt" ).write_text ("--use-feature fast-deps" )
67
64
python_deps = PythonDeps (raw = "-rr.txt" , root = tmp_path )
68
65
assert not python_deps .requirements
You can’t perform that action at this time.
0 commit comments