Hi Floris,

On Tue, Aug 21, 2018 at 6:02 PM Floris Bruynooghe <[email protected]> wrote:

> On Tue 21 Aug 2018 at 11:03 -0300, Bruno Oliveira wrote:
> > Personally my next goal is the task to replace the internal warnings
> system
> > to use the standard warnings module, which I should be able to tackle
> soon
> > as I have some vacation time coming up, but after that I'm happy to help
> > with the configuration refactoring.
>
> Hum, have you successfully used the stdlib warning module in such a
> fashion in another project before?  I recall trying to do this many
> years ago but concluding that the stdlib warnings system is there not
> for your code but for Python itself.  And especially with respect to
> testing I recall that it was deliberate not to use this since it would
> make testing code which uses warnings even more tricky.
>

Hmm never used it before like this, but we have give it some thought and
the plan is described here:

https://github.com/pytest-dev/pytest/issues/2452#issuecomment-305466827

Please do comment on that in case your experience differs from our
expectations while thinking about that issue.

Cheers,
Bruno.
_______________________________________________
pytest-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to