Files
pytest2/testing
Kale Kundert af42e7154a Prevent approx from being used without a comparison (#9061)
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.
2021-08-30 18:19:31 +00:00
..
2021-03-07 15:01:39 +01:00
2020-08-03 10:10:43 +03:00
2021-07-13 08:24:39 -03:00
2021-03-06 21:32:03 +01:00
2020-10-05 18:33:17 -07:00
2021-07-18 15:32:52 +03:00