On Wed, Oct 25, 2017 at 6:01 PM Floris Bruynooghe <f...@devork.be> wrote:
> > as such i propose deprecating them and warning users about the problems > > with regard to when and how to warn we need to take a look in detail as > > there are many reasonably valid setups with exactly one non initial > conftest > > and we should help people to turn those into initial conftest's while > > cleaning out the rest. > > Absolutely, if we can detect this and warn users away from it then > that sounds great. It could go on the "removal in 4.0" list if such a > list existed. > Agreed. We should be able to detect a pytest_plugins directive in non-initial conftest files fairly easily and issue a warning if that's the case. We have a deprecation list: https://github.com/pytest-dev/pytest/wiki/Deprecation-Roadmap Cheers, Bruno
_______________________________________________ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev