test_ok2/changelog/7710.improvement.rst

4 lines
190 B
ReStructuredText

Use strict equality comparison for nonnumeric types in ``approx`` instead of
raising ``TypeError``.
This was the undocumented behavior before 3.7, but is now officially a supported feature.