From 1c3cd73f235b6438aeec4ba5ccd208d4e6a3703a Mon Sep 17 00:00:00 2001 From: Allan Lewis Date: Mon, 23 Jan 2017 11:22:45 +0000 Subject: [PATCH] xdist.plugin: Remove unnecessary `type` for --dist 1e18f25 corrected an issue with the `type` specification for the `--dist` argument, setting it to `str`. However, this is the default so there's little value in specifying it. --- xdist/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xdist/plugin.py b/xdist/plugin.py index a63cfa7..dc721da 100644 --- a/xdist/plugin.py +++ b/xdist/plugin.py @@ -32,7 +32,7 @@ def pytest_addoption(parser): group._addoption( '--dist', metavar="distmode", action="store", choices=['load', 'each', 'no'], - type=str, dest="dist", default="no", + dest="dist", default="no", help=("set mode for distributing tests to exec environments.\n\n" "each: send each test to each available environment.\n\n" "load: send each test to available environment.\n\n"