pytest-tricks icon indicating copy to clipboard operation
pytest-tricks copied to clipboard

Use pytest instead of py.test

Open tomschr opened this issue 7 years ago • 2 comments
trafficstars

Problem

I've noticed in some of the example, that py.test as a command is used. If I remember correctly, this is declared as deprecated. It could potentially be removed in the future. Unfortunately, I don't know anymore where I've read it.

Solution

Use pytest instead of py.test throughout the docs. :wink:

tomschr avatar Apr 27 '18 14:04 tomschr

Hi @tomschr, thanks for the heads up, we definitely should use pytest instead of py.test.

A small correction, py.test is not really deprecated in the sense that we plan to remove it, just that we now recommend pytest instead. There are no plans to ever remove it given the huge number of builds that this will break, and it's not really a maintenance burden.

nicoddemus avatar Apr 27 '18 14:04 nicoddemus

@nicoddemus All right, thanks for the clarification. :+1:

tomschr avatar Apr 27 '18 14:04 tomschr