nestorsalceda / mamba

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

Incorrect assert error location #115

Closed quiqueporta closed 4 years ago

quiqueporta commented 6 years ago

Hi! I'm working with mamba==0.9.3 and expects==0.8.0 Since last mamba update, the assert error location is pointing to expects library.

 Failure/Error: /home/quique/.virtualenvs/bender/lib/python3.5/site-packages/expects/expectations.py self._assert(matcher)
    AssertionError: 
expected: False to be true

In previous versions like 0.8.6, the assert error pointed to the spec file.

1) Bender bot it tests mamba Failure/Error: specs/bender_spec.py expect(False).to(be_true) AssertionError: expected: False to be true