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

Refactor nodetransformers #73

Open angelsanzn opened 8 years ago

angelsanzn commented 8 years ago

I did this in order to better understand the AST transformation and try to express it more clearly in the code. I welcome your feedback - I know the global diff is terrible but it really goes step by step on each commit.

The only real changes are:

This also adds tests for the particular transformations.