Skip to content

Commit ad99ac2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 565e28f commit ad99ac2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_uninject.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@ def test_uninject_leave_deps(pipx_temp_env, capsys, caplog):
4040
assert "Uninjected package black from venv pycowsay" in captured.out
4141
assert "Dependencies of uninstalled package:" not in caplog.text
4242

43+
4344
def test_uninject_keeps_shared_dependencies(pipx_temp_env, capsys):
4445
assert not run_pipx_cli(["install", "pycowsay"])
4546
assert not run_pipx_cli(["inject", "pycowsay", PKG["black"]["spec"]])
4647
assert not run_pipx_cli(["inject", "pycowsay", PKG["pylint"]["spec"]])
4748
assert not run_pipx_cli(["uninject", "pycowsay", "black"])
4849
assert not run_pipx_cli(["list", "--include-injected"])
4950
captured = capsys.readouterr()
50-
assert "pylint" in captured.out
51+
assert "pylint" in captured.out

0 commit comments

Comments
 (0)