Files
pytest2/changelog/6795.improvement.rst
Daniel Hahler 5819536f00 Improve UsageError with invalid -o style (#6795)
This started from fixing the test, where `"xdist_strict True"` was used
as a single argument, although you typically would see `["xdist_strict",
"True"]`.

Improves the error message to mention the option that caused the error.
2020-02-28 19:41:56 +01:00

2 lines
53 B
ReStructuredText

Import usage error message with invalid `-o` option.