-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
good first issueeasy issue that is friendly to new contributoreasy issue that is friendly to new contributortype: bugproblem that needs to be addressedproblem that needs to be addressed
Description
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.
Follow up of #258
Metadata
Metadata
Assignees
Labels
good first issueeasy issue that is friendly to new contributoreasy issue that is friendly to new contributortype: bugproblem that needs to be addressedproblem that needs to be addressed