https://github.com/Solganis/assertpy2#why-fluent-assertions describes that the library shows the path differences in color, but this doesn't happen when using from pytest.
From pytest
from assertpy2 import assert_that
def test():
assert_that({0: 0}).is_equal_to({0:1})
tests/test_equals.py:2 (test)
def test():
> assert_that({0: 0}).is_equal_to({0:1})
E assertpy2.AssertionFailure: Expected <{0: 0}> to be equal to <{0: 1}>, but was not.
Without pytest
from assertpy2 import assert_that
assert_that({0: 0}).is_equal_to({0:1})
E assertpy2.AssertionFailure: Expected <{0: 0}> to be equal to <{0: 1}>, but was not.
E diff (dict):
E 0:
E - 0
E + 1
https://github.com/Solganis/assertpy2#why-fluent-assertions describes that the library shows the path differences in color, but this doesn't happen when using from pytest.
From pytest
Without pytest