Closed georgexsh closed 8 years ago
two dashes instead of one? maybe the two dashes got translated to an emdash somewhere along the way?
On Tue, Apr 5, 2016 at 12:02 AM, georgexsh notifications@github.com wrote:
with error message: "py.test: error: unrecognized arguments: -debug", seems pytest plugin interface has changed.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/klrmn/pytest-random/issues/10
@klrmn thanks for your reply and sorry for the misleading message, it was --random
.
I found a workable workaround by loading plugin explicitly: -p random_plugin --random
, maybe there are something wrong with py.test plugin discovery mechanism.
after upgrade setuptools and virtualenv, this issue disappeared.
with error message: "py.test: error: unrecognized arguments: --random", seems pytest plugin interface has changed.