{"action":"created","comment":{"url":"https://api.github.com/repos/testing-cabal/testtools/pulls/comments/26067410","id":26067410,"diff_hunk":"@@ -92,6 +92,13 @@ cause ``testtools.RunTest`` to fail the test case after the test has finished.\n This is useful when you want to cause a test to fail, but don't want to\n prevent the remainder of the test code from being executed.\n \n+Exception formatting\n+--------------------\n+\n+Testtools ``TestCase`` do their own formatting of exceptions. The attribute","path":"doc/for-framework-folk.rst","position":7,"original_position":7,"commit_id":"7267de6f5c4ea8de68279baa20895dff5ae3531f","original_commit_id":"7267de6f5c4ea8de68279baa20895dff5ae3531f","user":{"login":"rbtcollins","id":499678,"avatar_url":"https://avatars.githubusercontent.com/u/499678?v=3","gravatar_id":"","url":"https://api.github.com/users/rbtcollins","html_url":"https://github.com/rbtcollins","followers_url":"https://api.github.com/users/rbtcollins/followers","following_url":"https://api.github.com/users/rbtcollins/following{/other_user}","gists_url":"https://api.github.com/users/rbtcollins/gists{/gist_id}","starred_url":"https://api.github.com/users/rbtcollins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbtcollins/subscriptions","organizations_url":"https://api.github.com/users/rbtcollins/orgs","repos_url":"https://api.github.com/users/rbtcollins/repos","events_url":"https://api.github.com/users/rbtcollins/events{/privacy}","received_events_url":"https://api.github.com/users/rbtcollins/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2015-03-09T19:34:56Z","updated_at":"2015-03-09T19:34:56Z","html_url":"https://github.com/testing-cabal/testtools/pull/129#discussion_r26067410","pull_request_url":"https://api.github.com/repos/testing-cabal/testtools/pulls/129","_links":{"self":{"href":"https://api.github.com/repos/testing-cabal/testtools/pulls/comments/26067410"},"html":{"href":"https://github.com/testing-cabal/testtools/pull/129#discussion_r26067410"},"pull_request":{"href":"https://api.github.com/repos/testing-cabal/testtools/pulls/129"}}},"pull_request":{"url":"https://api.github.com/repos/testing-cabal/testtools/pulls/129","id":30746354,"html_url":"https://github.com/testing-cabal/testtools/pull/129","diff_url":"https://github.com/testing-cabal/testtools/pull/129.diff","patch_url":"https://github.com/testing-cabal/testtools/pull/129.patch","issue_url":"https://api.github.com/repos/testing-cabal/testtools/issues/129","number":129,"state":"open","locked":false,"title":"Overhaul exception reporting.","user":{"login":"rbtcollins","id":499678,"avatar_url":"https://avatars.githubusercontent.com/u/499678?v=3","gravatar_id":"","url":"https://api.github.com/users/rbtcollins","html_url":"https://github.com/rbtcollins","followers_url":"https://api.github.com/users/rbtcollins/followers","following_url":"https://api.github.com/users/rbtcollins/following{/other_user}","gists_url":"https://api.github.com/users/rbtcollins/gists{/gist_id}","starred_url":"https://api.github.com/users/rbtcollins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbtcollins/subscriptions","organizations_url":"https://api.github.com/users/rbtcollins/orgs","repos_url":"https://api.github.com/users/rbtcollins/repos","events_url":"https://api.github.com/users/rbtcollins/events{/privacy}","received_events_url":"https://api.github.com/users/rbtcollins/received_events","type":"User","site_admin":false},"body":"unittest2 recently added the ability to show local variables in\r\ntracebacks as https://github.com/testing-cabal/testtools/issues/111\r\nrequested for us. Reusing that requires some refactoring of our code,\r\nin particular where we were reimplementing bits of the traceback\r\nmodule. Now we can just hard-depend on traceback2 and linecache2 which\r\nare brought in by unittest2 1.0.0.\r\n\r\nChange-Id: Ieb3268029d26b48ed4fcd25ed644bd339f6aa3fb","created_at":"2015-03-09T09:37:18Z","updated_at":"2015-03-09T19:34:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5fd708dc4046179fb4a13523ee8b28269f71f2ed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/testing-cabal/testtools/pulls/129/commits","review_comments_url":"https://api.github.com/repos/testing-cabal/testtools/pulls/129/comments","review_comment_url":"https://api.github.com/repos/testing-cabal/testtools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/testing-cabal/testtools/issues/129/comments","statuses_url":"https://api.github.com/repos/testing-cabal/testtools/statuses/7267de6f5c4ea8de68279baa20895dff5ae3531f","head":{"label":"rbtcollins:locals","ref":"locals","sha":"7267de6f5c4ea8de68279baa20895dff5ae3531f","user":{"login":"rbtcollins","id":499678,"avatar_url":"https://avatars.githubusercontent.com/u/499678?v=3","gravatar_id":"","url":"https://api.github.com/users/rbtcollins","html_url":"https://github.com/rbtcollins","followers_url":"https://api.github.com/users/rbtcollins/followers","following_url":"https://api.github.com/users/rbtcollins/following{/other_user}","gists_url":"https://api.github.com/users/rbtcollins/gists{/gist_id}","starred_url":"https://api.github.com/users/rbtcollins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbtcollins/subscriptions","organizations_url":"https://api.github.com/users/rbtcollins/orgs","repos_url":"https://api.github.com/users/rbtcollins/repos","events_url":"https://api.github.com/users/rbtcollins/events{/privacy}","received_events_url":"https://api.github.com/users/rbtcollins/received_events","type":"User","site_admin":false},"repo":{"id":7926845,"name":"testtools","full_name":"rbtcollins/testtools","owner":{"login":"rbtcollins","id":499678,"avatar_url":"https://avatars.githubusercontent.com/u/499678?v=3","gravatar_id":"","url":"https://api.github.com/users/rbtcollins","html_url":"https://github.com/rbtcollins","followers_url":"https://api.github.com/users/rbtcollins/followers","following_url":"https://api.github.com/users/rbtcollins/following{/other_user}","gists_url":"https://api.github.com/users/rbtcollins/gists{/gist_id}","starred_url":"https://api.github.com/users/rbtcollins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbtcollins/subscriptions","organizations_url":"https://api.github.com/users/rbtcollins/orgs","repos_url":"https://api.github.com/users/rbtcollins/repos","events_url":"https://api.github.com/users/rbtcollins/events{/privacy}","received_events_url":"https://api.github.com/users/rbtcollins/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rbtcollins/testtools","description":"Testtools - tasteful testing for python","fork":true,"url":"https://api.github.com/repos/rbtcollins/testtools","forks_url":"https://api.github.com/repos/rbtcollins/testtools/forks","keys_url":"https://api.github.com/repos/rbtcollins/testtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rbtcollins/testtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rbtcollins/testtools/teams","hooks_url":"https://api.github.com/repos/rbtcollins/testtools/hooks","issue_events_url":"https://api.github.com/repos/rbtcollins/testtools/issues/events{/number}","events_url":"https://api.github.com/repos/rbtcollins/testtools/events","assignees_url":"https://api.github.com/repos/rbtcollins/testtools/assignees{/user}","branches_url":"https://api.github.com/repos/rbtcollins/testtools/branches{/branch}","tags_url":"https://api.github.com/repos/rbtcollins/testtools/tags","blobs_url":"https://api.github.com/repos/rbtcollins/testtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rbtcollins/testtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rbtcollins/testtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/rbtcollins/testtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rbtcollins/testtools/statuses/{sha}","languages_url":"https://api.github.com/repos/rbtcollins/testtools/languages","stargazers_url":"https://api.github.com/repos/rbtcollins/testtools/stargazers","contributors_url":"https://api.github.com/repos/rbtcollins/testtools/contributors","subscribers_url":"https://api.github.com/repos/rbtcollins/testtools/subscribers","subscription_url":"https://api.github.com/repos/rbtcollins/testtools/subscription","commits_url":"https://api.github.com/repos/rbtcollins/testtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/rbtcollins/testtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/rbtcollins/testtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/rbtcollins/testtools/issues/comments{/number}","contents_url":"https://api.github.com/repos/rbtcollins/testtools/contents/{+path}","compare_url":"https://api.github.com/repos/rbtcollins/testtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rbtcollins/testtools/merges","archive_url":"https://api.github.com/repos/rbtcollins/testtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rbtcollins/testtools/downloads","issues_url":"https://api.github.com/repos/rbtcollins/testtools/issues{/number}","pulls_url":"https://api.github.com/repos/rbtcollins/testtools/pulls{/number}","milestones_url":"https://api.github.com/repos/rbtcollins/testtools/milestones{/number}","notifications_url":"https://api.github.com/repos/rbtcollins/testtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rbtcollins/testtools/labels{/name}","releases_url":"https://api.github.com/repos/rbtcollins/testtools/releases{/id}","created_at":"2013-01-31T00:08:59Z","updated_at":"2014-08-27T21:18:46Z","pushed_at":"2015-03-09T09:37:02Z","git_url":"git://github.com/rbtcollins/testtools.git","ssh_url":"git@github.com:rbtcollins/testtools.git","clone_url":"https://github.com/rbtcollins/testtools.git","svn_url":"https://github.com/rbtcollins/testtools","homepage":null,"size":5709,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"testing-cabal:master","ref":"master","sha":"edf585e6d5a960097c491daaf1c20d30e998d782","user":{"login":"testing-cabal","id":2662570,"avatar_url":"https://avatars.githubusercontent.com/u/2662570?v=3","gravatar_id":"","url":"https://api.github.com/users/testing-cabal","html_url":"https://github.com/testing-cabal","followers_url":"https://api.github.com/users/testing-cabal/followers","following_url":"https://api.github.com/users/testing-cabal/following{/other_user}","gists_url":"https://api.github.com/users/testing-cabal/gists{/gist_id}","starred_url":"https://api.github.com/users/testing-cabal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/testing-cabal/subscriptions","organizations_url":"https://api.github.com/users/testing-cabal/orgs","repos_url":"https://api.github.com/users/testing-cabal/repos","events_url":"https://api.github.com/users/testing-cabal/events{/privacy}","received_events_url":"https://api.github.com/users/testing-cabal/received_events","type":"Organization","site_admin":false},"repo":{"id":7804703,"name":"testtools","full_name":"testing-cabal/testtools","owner":{"login":"testing-cabal","id":2662570,"avatar_url":"https://avatars.githubusercontent.com/u/2662570?v=3","gravatar_id":"","url":"https://api.github.com/users/testing-cabal","html_url":"https://github.com/testing-cabal","followers_url":"https://api.github.com/users/testing-cabal/followers","following_url":"https://api.github.com/users/testing-cabal/following{/other_user}","gists_url":"https://api.github.com/users/testing-cabal/gists{/gist_id}","starred_url":"https://api.github.com/users/testing-cabal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/testing-cabal/subscriptions","organizations_url":"https://api.github.com/users/testing-cabal/orgs","repos_url":"https://api.github.com/users/testing-cabal/repos","events_url":"https://api.github.com/users/testing-cabal/events{/privacy}","received_events_url":"https://api.github.com/users/testing-cabal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/testing-cabal/testtools","description":"Testtools - tasteful testing for python","fork":false,"url":"https://api.github.com/repos/testing-cabal/testtools","forks_url":"https://api.github.com/repos/testing-cabal/testtools/forks","keys_url":"https://api.github.com/repos/testing-cabal/testtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/testing-cabal/testtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/testing-cabal/testtools/teams","hooks_url":"https://api.github.com/repos/testing-cabal/testtools/hooks","issue_events_url":"https://api.github.com/repos/testing-cabal/testtools/issues/events{/number}","events_url":"https://api.github.com/repos/testing-cabal/testtools/events","assignees_url":"https://api.github.com/repos/testing-cabal/testtools/assignees{/user}","branches_url":"https://api.github.com/repos/testing-cabal/testtools/branches{/branch}","tags_url":"https://api.github.com/repos/testing-cabal/testtools/tags","blobs_url":"https://api.github.com/repos/testing-cabal/testtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/testing-cabal/testtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/testing-cabal/testtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/testing-cabal/testtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/testing-cabal/testtools/statuses/{sha}","languages_url":"https://api.github.com/repos/testing-cabal/testtools/languages","stargazers_url":"https://api.github.com/repos/testing-cabal/testtools/stargazers","contributors_url":"https://api.github.com/repos/testing-cabal/testtools/contributors","subscribers_url":"https://api.github.com/repos/testing-cabal/testtools/subscribers","subscription_url":"https://api.github.com/repos/testing-cabal/testtools/subscription","commits_url":"https://api.github.com/repos/testing-cabal/testtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/testing-cabal/testtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/testing-cabal/testtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/testing-cabal/testtools/issues/comments{/number}","contents_url":"https://api.github.com/repos/testing-cabal/testtools/contents/{+path}","compare_url":"https://api.github.com/repos/testing-cabal/testtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/testing-cabal/testtools/merges","archive_url":"https://api.github.com/repos/testing-cabal/testtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/testing-cabal/testtools/downloads","issues_url":"https://api.github.com/repos/testing-cabal/testtools/issues{/number}","pulls_url":"https://api.github.com/repos/testing-cabal/testtools/pulls{/number}","milestones_url":"https://api.github.com/repos/testing-cabal/testtools/milestones{/number}","notifications_url":"https://api.github.com/repos/testing-cabal/testtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/testing-cabal/testtools/labels{/name}","releases_url":"https://api.github.com/repos/testing-cabal/testtools/releases{/id}","created_at":"2013-01-24T18:59:21Z","updated_at":"2015-03-04T18:44:52Z","pushed_at":"2014-11-20T23:21:48Z","git_url":"git://github.com/testing-cabal/testtools.git","ssh_url":"git@github.com:testing-cabal/testtools.git","clone_url":"https://github.com/testing-cabal/testtools.git","svn_url":"https://github.com/testing-cabal/testtools","homepage":null,"size":5312,"stargazers_count":28,"watchers_count":28,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":9,"forks":29,"open_issues":9,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/testing-cabal/testtools/pulls/129"},"html":{"href":"https://github.com/testing-cabal/testtools/pull/129"},"issue":{"href":"https://api.github.com/repos/testing-cabal/testtools/issues/129"},"comments":{"href":"https://api.github.com/repos/testing-cabal/testtools/issues/129/comments"},"review_comments":{"href":"https://api.github.com/repos/testing-cabal/testtools/pulls/129/comments"},"review_comment":{"href":"https://api.github.com/repos/testing-cabal/testtools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/testing-cabal/testtools/pulls/129/commits"},"statuses":{"href":"https://api.github.com/repos/testing-cabal/testtools/statuses/7267de6f5c4ea8de68279baa20895dff5ae3531f"}}}}