achevrot / impunity

A Python library to check physical units
https://achevrot.github.io/impunity/
MIT License
10 stars 0 forks source link

NameError: name '_call_reprcompare' is not defined when several asserts in test #1

Closed achevrot closed 1 year ago

achevrot commented 2 years ago

This is probably due to the fun.code.co_consts not being properly reconstructed due to pytest decorators. Might be an issue with other methods overhead.

achevrot commented 1 year ago

Changed the stack to unittest for now. Archiving this till later