~amirouche/mutation

7db62c68dfafc319b2db67d7d9209d186b74e71b — Amirouche 7 months ago fc14656
improve --numprocesses support...

... --numprocesses=1 will use xdist support breaking in strage ways.
1 files changed, 1 insertions(+), 3 deletions(-)

M mutation.py
M mutation.py => mutation.py +1 -3
@@ 602,7 602,7 @@ async def _main(loop, arguments):
    command = command + [
        # Use pytest-xdist to make sure it is possible to run the
        # tests in parallel
        "--numprocesses=2",
        "--numprocesses={}".format(max_workers),
        # Petup coverage options to only mutate what is tested.
        "--cov=.",
        "--cov-branch",


@@ 624,8 624,6 @@ async def _main(loop, arguments):

        command = arguments["TEST-COMMAND"] or PYTEST
        command = command + [
            # Force numprocesses to one
            "--numprocesses=1",
            # Setup coverage options to only mutate what is tested.
            "--cov=.",
            "--cov-branch",