New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emit warnings for legacy parametrization + marking #2427

The-Compiler opened this Issue May 23, 2017 · 0 comments


None yet
3 participants

The-Compiler commented May 23, 2017

In #1921 we say "The old syntax will be removed in pytest-4.0.", and @nicoddemus said "Also please state that this mechanism will start to emit warnings in 3.1 and will be dropped in 4.0.".

However, looks like this hasn't happened.

As a quick hack for myself I did this in ParameterSet.extract_from:

        while isinstance(argval, MarkDecorator):
            assert False, parameterset  # added

cc @RonnyPfannschmidt

@RonnyPfannschmidt RonnyPfannschmidt self-assigned this May 23, 2017

nicoddemus added a commit that referenced this issue Jun 24, 2017

Merge pull request #2524 from RonnyPfannschmidt/fix-2427
introduce deprecation warnings for legacy parametersets, fixes #2427

@nicoddemus nicoddemus closed this Jul 10, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment