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

fix(formatters): Specify exact line which raises the assertion #148

Closed nestorsalceda closed 4 years ago

nestorsalceda commented 4 years ago

What this PR does / why we need it:

This PR fixes the assertion error location specified in #115

This is only valid in case of expects, but I'm not sure how it will behave with other expectation libraries.

Which issue(s) this PR fixes:

Refs #115

Special notes for your reviewer: