[pytest-dev] a potential alternative to the py.code merge

holger krekel holger at merlinux.eu
Mon Jan 25 05:17:40 EST 2016


Hi Ronny,

On Mon, Jan 25, 2016 at 00:38 +0100, Ronny Pfannschmidt wrote:
> Hi everyone,
> 
> this is probably a bit late, in particular since Bruno did already spend
> a considerable amount of time,
> 
> but instead of merging py.code for the exception repressentation,
> i would like to propose introducing a abstraction layer,
> and allowing to set the exception representation in pytest.ini or via
> plugins
> 
> this would allow more free experimentation, and also a really clean
> transition from
> py.code as default * new possible, to py.code the legacy and new code
> the default.

In all the years of pytest/py development no one ever seemed to seriously
want to replace the exception representation so i think going full-scale
flexible here is premature.  Also the move of code from py.code to
py.test is kind of orthogonal as Bruno already mentioned.

best,
holger


More information about the pytest-dev mailing list