https://dirty-equals.helpmanual.io/latest/ Lib Python para fazer comparações em testes.
Exemplo:
from dirty_equals import IsPositive
assert 1 == IsPositive
assert -2 == IsPositive # this will fail!
Pesquisar
https://dirty-equals.helpmanual.io/latest/ Lib Python para fazer comparações em testes.
Exemplo:
from dirty_equals import IsPositive
assert 1 == IsPositive
assert -2 == IsPositive # this will fail!