{"action":"created","issue":{"url":"https://api.github.com/repos/testing-cabal/testtools/issues/165","labels_url":"https://api.github.com/repos/testing-cabal/testtools/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/testing-cabal/testtools/issues/165/comments","events_url":"https://api.github.com/repos/testing-cabal/testtools/issues/165/events","html_url":"https://github.com/testing-cabal/testtools/pull/165","id":117185307,"number":165,"title":"Allow tests to be run more than once","user":{"login":"jml","id":125674,"avatar_url":"https://avatars.githubusercontent.com/u/125674?v=3","gravatar_id":"","url":"https://api.github.com/users/jml","html_url":"https://github.com/jml","followers_url":"https://api.github.com/users/jml/followers","following_url":"https://api.github.com/users/jml/following{/other_user}","gists_url":"https://api.github.com/users/jml/gists{/gist_id}","starred_url":"https://api.github.com/users/jml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jml/subscriptions","organizations_url":"https://api.github.com/users/jml/orgs","repos_url":"https://api.github.com/users/jml/repos","events_url":"https://api.github.com/users/jml/events{/privacy}","received_events_url":"https://api.github.com/users/jml/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-16T18:11:31Z","updated_at":"2015-11-18T19:14:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/testing-cabal/testtools/pulls/165","html_url":"https://github.com/testing-cabal/testtools/pull/165","diff_url":"https://github.com/testing-cabal/testtools/pull/165.diff","patch_url":"https://github.com/testing-cabal/testtools/pull/165.patch"},"body":"Our `setUp` and `tearDown` protection would prevent a single test from being run more than once. This makes a `RunTest`-based solution to [#1515933 - Support for retrying intermittently failing tests](https://bugs.launchpad.net/testtools/+bug/1515933) rather difficult.\r\n\r\nThis patch makes it possible to re-run tests, failed or otherwise. AFAICT, it doesn't change any of our public APIs.\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/testing-cabal/testtools/165)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/testing-cabal/testtools/issues/comments/157826627","html_url":"https://github.com/testing-cabal/testtools/pull/165#issuecomment-157826627","issue_url":"https://api.github.com/repos/testing-cabal/testtools/issues/165","id":157826627,"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},"created_at":"2015-11-18T19:14:48Z","updated_at":"2015-11-18T19:14:48Z","body":"\n\n\n\nReview status: all files reviewed at latest revision, 2 unresolved discussions.\n\n---\n\n_[testtools/tests/test_testcase.py, line 1269 \\[r1\\]](https://reviewable.io:443/reviews/testing-cabal/testtools/165#-K3HGgB_HlLSrY_2-I5L:-K3R09JRukYd5eG7wQoT:-641374308) ([raw file](https://github.com/testing-cabal/testtools/blob/cc7f66594f6f04dbaf6d207d91cf7da378618070/testtools/tests/test_testcase.py#L1269)):_\nUp to you on how you do it. Its going to be a nasty for loop with manual diagnostics, or 5 lines of extra diff (which I can write up for you if you like).\n\n---\n\n\n_Comments from the [review on Reviewable.io](https://reviewable.io:443/reviews/testing-cabal/testtools/165)_\n<!-- Sent from Reviewable.io -->\n"}}