| Some of the top search-engine hits for pytest.approx use the function without actually comparing it to anything. This PR will cause these tests to fail by implementing approx.__bool__() to raise an AssertionError that briefly explains how to correctly use approx. | ||
|---|---|---|
| .. | ||
| approx.py | ||
| collect.py | ||
| fixtures.py | ||
| integration.py | ||
| metafunc.py | ||
| raises.py | ||
| show_fixtures_per_test.py | ||