test_ok2/changelog/7710.improvement.rst

5 lines
208 B
ReStructuredText

Use strict equality comparison for non-numeric types in :func:`pytest.approx` instead of
raising :class:`TypeError`.
This was the undocumented behavior before 3.7, but is now officially a supported feature.