From e80dcb1dc09851230b00f8eb63e0c78fda060392 Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Thu, 25 Nov 2021 13:03:20 -0800 Subject: [PATCH] chore: remove pytest-console-scripts specific config Remove the pytest-console-scripts specific config from the global '[pytest]' config section. Use the command line option `--script-launch-mode=subprocess` Closes #1713 --- tox.ini | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index aac7d56c4..4d8ead20c 100644 --- a/tox.ini +++ b/tox.ini @@ -84,13 +84,10 @@ exclude_lines = if TYPE_CHECKING: if debug: -[pytest] -script_launch_mode = subprocess - [testenv:cli_func_v4] deps = -r{toxinidir}/requirements-docker.txt commands = - pytest --cov --cov-report xml tests/functional/cli {posargs} + pytest --script-launch-mode=subprocess --cov --cov-report xml tests/functional/cli {posargs} [testenv:py_func_v4] deps = -r{toxinidir}/requirements-docker.txt