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
The example below passes without any complaints:
import pytest def test(): with pytest.raises(ValueError, unknown='foo'): raise ValueError
It should raise a TypeError because of the unknown parameter.
TypeError
unknown
Follow up of #258
The text was updated successfully, but these errors were encountered:
GitMate.io thinks possibly related issues are #1411 (Pytest stops), #238 (Introduce "ids" argument to pytest.fixture), #176 (pytest.raises(AssertionError) fails with cython modules), #3280 (pytest uses deprecated convert argument in attr's attrib), and #1602 (pytest.print()).
convert
attrib
@nicoddemus @RonnyPfannschmidt should this be closed?
yes, thanks for triaging
Successfully merging a pull request may close this issue.
The example below passes without any complaints:
It should raise a
TypeError
because of theunknown
parameter.Follow up of #258
The text was updated successfully, but these errors were encountered: