nestorsalceda / mamba

The definitive testing tool for Python. Born under the banner of Behavior Driven Development (BDD).
http://nestorsalceda.github.io/mamba
MIT License
518 stars 65 forks source link

Don't run after_each for blocks that didn't get a chance to run before_each. #132

Closed m-kostrzewa closed 1 year ago

m-kostrzewa commented 5 years ago

Fixes #52

This PR is based on my other PR, #131

Please let me know how to open this one. I can only open to master branch. I could merge both of my PRs and submit them as one patch if it's preferable. Otherwise, the diff contains changes from #131 as well and may be hard to read...