test_ok2/testing/python
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
..
approx.py Prevent approx from being used without a comparison (#9061) 2021-08-30 18:19:31 +00:00
collect.py Fix warning filters used in tests 2021-05-04 17:25:02 +02:00
fixtures.py Revert fspath deprecation 2021-07-13 08:24:39 -03:00
integration.py fixup! Rename variables 'tmpdir'->'tmp_path' 2021-02-21 13:10:07 +00:00
metafunc.py Refactor internal scope handling by introducing Scope enum 2021-08-01 06:11:56 -03:00
raises.py [pre-commit.ci] pre-commit autoupdate (#8547) 2021-04-14 12:49:09 +03:00
show_fixtures_per_test.py add feature to view fixture source location in invocations with --fixtures-per-test option (#8626) 2021-05-14 14:38:55 +02:00