Don't show warning from pytest 3

This commit is contained in:
Tor Colvin
2016-10-24 11:28:54 -04:00
parent f43a64ae59
commit 1e18f25cd0

View File

@@ -32,7 +32,7 @@ def pytest_addoption(parser):
group._addoption( group._addoption(
'--dist', metavar="distmode", '--dist', metavar="distmode",
action="store", choices=['load', 'each', 'no'], action="store", choices=['load', 'each', 'no'],
type="choice", dest="dist", default="no", type=str, dest="dist", default="no",
help=("set mode for distributing tests to exec environments.\n\n" help=("set mode for distributing tests to exec environments.\n\n"
"each: send each test to each available environment.\n\n" "each: send each test to each available environment.\n\n"
"load: send each test to available environment.\n\n" "load: send each test to available environment.\n\n"