pytest-tricks
pytest-tricks copied to clipboard
Use pytest instead of py.test
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:
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 All right, thanks for the clarification. :+1: