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:
Kemal Zebari 2024-06-07 11:06:16 -07:00 committed by GitHub
parent 7cd556117f
commit 9bda77ef1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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