Use non-deprecated pytest-console-scripts API (#377)
This removes a deprecation warning message that appears when running the automated tests.
This commit is contained in:
parent
7cd556117f
commit
9bda77ef1d
|
@ -13,5 +13,5 @@ def test_main() -> None:
|
||||||
|
|
||||||
|
|
||||||
def test_console(script_runner: ScriptRunner) -> None:
|
def test_console(script_runner: ScriptRunner) -> None:
|
||||||
result = script_runner.run("pipdeptree", "--help")
|
result = script_runner.run(["pipdeptree", "--help"])
|
||||||
assert result.success
|
assert result.success
|
||||||
|
|
Loading…
Reference in New Issue