{"action":"created","issue":{"url":"https://api.github.com/repos/pytest-dev/pytest/issues/3348","repository_url":"https://api.github.com/repos/pytest-dev/pytest","labels_url":"https://api.github.com/repos/pytest-dev/pytest/issues/3348/labels{/name}","comments_url":"https://api.github.com/repos/pytest-dev/pytest/issues/3348/comments","events_url":"https://api.github.com/repos/pytest-dev/pytest/issues/3348/events","html_url":"https://github.com/pytest-dev/pytest/issues/3348","id":309140920,"number":3348,"title":"pytest.raises should complain about unknown arguments","user":{"login":"nicoddemus","id":1085180,"avatar_url":"https://avatars2.githubusercontent.com/u/1085180?v=4","gravatar_id":"","url":"https://api.github.com/users/nicoddemus","html_url":"https://github.com/nicoddemus","followers_url":"https://api.github.com/users/nicoddemus/followers","following_url":"https://api.github.com/users/nicoddemus/following{/other_user}","gists_url":"https://api.github.com/users/nicoddemus/gists{/gist_id}","starred_url":"https://api.github.com/users/nicoddemus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicoddemus/subscriptions","organizations_url":"https://api.github.com/users/nicoddemus/orgs","repos_url":"https://api.github.com/users/nicoddemus/repos","events_url":"https://api.github.com/users/nicoddemus/events{/privacy}","received_events_url":"https://api.github.com/users/nicoddemus/received_events","type":"User","site_admin":false},"labels":[{"id":240426349,"url":"https://api.github.com/repos/pytest-dev/pytest/labels/status:%20easy","name":"status: easy","color":"bfe5bf","default":false},{"id":224849193,"url":"https://api.github.com/repos/pytest-dev/pytest/labels/type:%20bug","name":"type: bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-27T21:29:31Z","updated_at":"2018-04-02T08:51:55Z","closed_at":null,"author_association":"OWNER","body":"The example below passes without any complaints:\r\n\r\n```python\r\nimport pytest\r\ndef test():\r\n    with pytest.raises(ValueError, unknown='foo'):\r\n        raise ValueError\r\n```\r\n\r\nIt should raise a `TypeError` because of the `unknown` parameter.\r\n\r\nFollow up of #258"},"comment":{"url":"https://api.github.com/repos/pytest-dev/pytest/issues/comments/377887752","html_url":"https://github.com/pytest-dev/pytest/issues/3348#issuecomment-377887752","issue_url":"https://api.github.com/repos/pytest-dev/pytest/issues/3348","id":377887752,"user":{"login":"brianmaissy","id":622989,"avatar_url":"https://avatars0.githubusercontent.com/u/622989?v=4","gravatar_id":"","url":"https://api.github.com/users/brianmaissy","html_url":"https://github.com/brianmaissy","followers_url":"https://api.github.com/users/brianmaissy/followers","following_url":"https://api.github.com/users/brianmaissy/following{/other_user}","gists_url":"https://api.github.com/users/brianmaissy/gists{/gist_id}","starred_url":"https://api.github.com/users/brianmaissy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianmaissy/subscriptions","organizations_url":"https://api.github.com/users/brianmaissy/orgs","repos_url":"https://api.github.com/users/brianmaissy/repos","events_url":"https://api.github.com/users/brianmaissy/events{/privacy}","received_events_url":"https://api.github.com/users/brianmaissy/received_events","type":"User","site_admin":false},"created_at":"2018-04-02T08:51:55Z","updated_at":"2018-04-02T08:51:55Z","author_association":"CONTRIBUTOR","body":"@nicoddemus @RonnyPfannschmidt should this be closed?"}}
{"actor":{"display_login":"brianmaissy"}}