{"action":"created","issue":{"url":"https://api.github.com/repos/getslash/slash/issues/477","repository_url":"https://api.github.com/repos/getslash/slash","labels_url":"https://api.github.com/repos/getslash/slash/issues/477/labels{/name}","comments_url":"https://api.github.com/repos/getslash/slash/issues/477/comments","events_url":"https://api.github.com/repos/getslash/slash/issues/477/events","html_url":"https://github.com/getslash/slash/issues/477","id":179088558,"number":477,"title":"assert_raises with message for un-raised exceptions fails on UnboundLocalError","user":{"login":"ayalash","id":1003519,"avatar_url":"https://avatars.githubusercontent.com/u/1003519?v=3","gravatar_id":"","url":"https://api.github.com/users/ayalash","html_url":"https://github.com/ayalash","followers_url":"https://api.github.com/users/ayalash/followers","following_url":"https://api.github.com/users/ayalash/following{/other_user}","gists_url":"https://api.github.com/users/ayalash/gists{/gist_id}","starred_url":"https://api.github.com/users/ayalash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayalash/subscriptions","organizations_url":"https://api.github.com/users/ayalash/orgs","repos_url":"https://api.github.com/users/ayalash/repos","events_url":"https://api.github.com/users/ayalash/events{/privacy}","received_events_url":"https://api.github.com/users/ayalash/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"ayalash","id":1003519,"avatar_url":"https://avatars.githubusercontent.com/u/1003519?v=3","gravatar_id":"","url":"https://api.github.com/users/ayalash","html_url":"https://github.com/ayalash","followers_url":"https://api.github.com/users/ayalash/followers","following_url":"https://api.github.com/users/ayalash/following{/other_user}","gists_url":"https://api.github.com/users/ayalash/gists{/gist_id}","starred_url":"https://api.github.com/users/ayalash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayalash/subscriptions","organizations_url":"https://api.github.com/users/ayalash/orgs","repos_url":"https://api.github.com/users/ayalash/repos","events_url":"https://api.github.com/users/ayalash/events{/privacy}","received_events_url":"https://api.github.com/users/ayalash/received_events","type":"User","site_admin":false},"assignees":[{"login":"ayalash","id":1003519,"avatar_url":"https://avatars.githubusercontent.com/u/1003519?v=3","gravatar_id":"","url":"https://api.github.com/users/ayalash","html_url":"https://github.com/ayalash","followers_url":"https://api.github.com/users/ayalash/followers","following_url":"https://api.github.com/users/ayalash/following{/other_user}","gists_url":"https://api.github.com/users/ayalash/gists{/gist_id}","starred_url":"https://api.github.com/users/ayalash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayalash/subscriptions","organizations_url":"https://api.github.com/users/ayalash/orgs","repos_url":"https://api.github.com/users/ayalash/repos","events_url":"https://api.github.com/users/ayalash/events{/privacy}","received_events_url":"https://api.github.com/users/ayalash/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-09-25T14:20:17Z","updated_at":"2016-09-25T14:30:50Z","closed_at":"2016-09-25T14:29:57Z","body":"```\r\nself = <slash.assertions._CaughtContext object at 0x10a428110>, exc_info = (None, None, None)\r\n\r\n    def __exit__(self, *exc_info):\r\n        if self._ignore_ctx:\r\n            self._ignore_ctx.__exit__(*exc_info)  # pylint: disable=no-member\r\n        if exc_info and exc_info != exception_handling.NO_EXC_INFO:\r\n            e = exc_info[1]\r\n            if isinstance(e, self._expected_classes):\r\n                self._caught.exception = e\r\n                if PY2:\r\n                    sys.exc_clear()  # pylint: disable=no-member\r\n                return True\r\n            return None\r\n        if self._msg is None:\r\n            expected_classes = self._expected_classes\r\n            if not isinstance(expected_classes, tuple):\r\n                expected_classes = (expected_classes, )\r\n            msg = \"{0} not raised\".format(\"/\".join(e.__name__ for e in expected_classes))\r\n>       raise TestFailed(msg)\r\nE       UnboundLocalError: local variable 'msg' referenced before assignment\r\n```"},"comment":{"url":"https://api.github.com/repos/getslash/slash/issues/comments/249424896","html_url":"https://github.com/getslash/slash/issues/477#issuecomment-249424896","issue_url":"https://api.github.com/repos/getslash/slash/issues/477","id":249424896,"user":{"login":"ayalash","id":1003519,"avatar_url":"https://avatars.githubusercontent.com/u/1003519?v=3","gravatar_id":"","url":"https://api.github.com/users/ayalash","html_url":"https://github.com/ayalash","followers_url":"https://api.github.com/users/ayalash/followers","following_url":"https://api.github.com/users/ayalash/following{/other_user}","gists_url":"https://api.github.com/users/ayalash/gists{/gist_id}","starred_url":"https://api.github.com/users/ayalash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayalash/subscriptions","organizations_url":"https://api.github.com/users/ayalash/orgs","repos_url":"https://api.github.com/users/ayalash/repos","events_url":"https://api.github.com/users/ayalash/events{/privacy}","received_events_url":"https://api.github.com/users/ayalash/received_events","type":"User","site_admin":false},"created_at":"2016-09-25T14:30:50Z","updated_at":"2016-09-25T14:30:50Z","body":"@vmalloc FYI"}}
{"actor":{"display_login":"ayalash"}}