test_ok2/testing/python
Kenny Y c5b13099e6
Fix error assertion handling in approx when None in dict comparison
Dict comparsion in the ApproxMapping class did not check if values were None before attempting to subtract for max_abs_diff stat, which was throwing an TypeError instead of being handled by pytest error assertion. Check for None has been added before these calculations, so that None will properly show as Obtained/Expected in pytest assert message
2023-07-07 14:42:59 -04:00
..
approx.py Fix error assertion handling in approx when None in dict comparison 2023-07-07 14:42:59 -04:00
collect.py python: change `pytest pkg/__init__.py` to only collect the `__init__.py` Module 2023-06-23 20:42:50 +03:00
fixtures.py Fix encoding warnings 2023-06-20 04:55:39 -07:00
integration.py Class methods can now be discovered as tests (#10552) 2022-12-02 15:53:04 +00:00
metafunc.py Drop Python 3.7 2023-06-30 14:55:42 -07:00
raises.py update does_not_raise docs now that pytest is 3.7+ only 2022-06-29 13:13:15 -04: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