From 9bda77ef1d8ad2c01f89f12d3e0468e1410dfedf Mon Sep 17 00:00:00 2001 From: Kemal Zebari <60799661+kemzeb@users.noreply.github.com> Date: Fri, 7 Jun 2024 11:06:16 -0700 Subject: [PATCH] Use non-deprecated pytest-console-scripts API (#377) This removes a deprecation warning message that appears when running the automated tests. --- tests/test_pipdeptree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_pipdeptree.py b/tests/test_pipdeptree.py index 7b565b0..967b71c 100644 --- a/tests/test_pipdeptree.py +++ b/tests/test_pipdeptree.py @@ -13,5 +13,5 @@ def test_main() -> None: def test_console(script_runner: ScriptRunner) -> None: - result = script_runner.run("pipdeptree", "--help") + result = script_runner.run(["pipdeptree", "--help"]) assert result.success