This particular bug is invalid: useFixture isn't and shouldn't be responsible for figuring out the right way to deal with a failed fixture: since we need to solve the with: case, there's no need for the useFixture code to be any different to with:, other than that its spread out over two call sites.
I wanted to capture the logic here for easy later review..., so I did a blog post. https:/ /rbtcollins. wordpress. com/2015/ 06/22/revisitin g-the-fixture- api-handling- leaky-resources /
This particular bug is invalid: useFixture isn't and shouldn't be responsible for figuring out the right way to deal with a failed fixture: since we need to solve the with: case, there's no need for the useFixture code to be any different to with:, other than that its spread out over two call sites.