[pytest-dev] Alias to parametrize
Bruno Oliveira
nicoddemus at gmail.com
Fri Feb 2 06:00:29 EST 2018
On Fri, Feb 2, 2018 at 7:22 AM Ronny Pfannschmidt <rpfannsc at redhat.com>
wrote:
> HI,
>
> i also like apply_params, it well in place with my desire of a more
> complete rename instead of just cutting it short.
>
> +1
>
> for eternal old api's i would like to introduce a warning which is per
> default filtered (like a future-warning), simply so plugin authors can have
> a advised way of keeping up with core even if we keep some old things in
> place for users
>
But if we will not be deprecating @pytest.mark.parametrize, why show a
warning at all?
IIUC we would be adding just an alias, with both 'parametrize' and
'apply_params' being considered correct, without one being recommended over
the other.
Cheers,
Bruno.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20180202/cc8e0de4/attachment-0001.html>
More information about the pytest-dev
mailing list