test_ok2/testing
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
..
_py Add encoding in more tests 2023-06-20 04:55:40 -07:00
code Drop Python 3.7 2023-06-30 14:55:42 -07:00
example_scripts python: change `pytest pkg/__init__.py` to only collect the `__init__.py` Module 2023-06-23 20:42:50 +03:00
examples fix bug in test for issue 519 2021-03-07 15:01:39 +01:00
freeze testing: fix some docstring issues 2020-08-03 10:10:43 +03:00
io Fix tests pygments 2.14.0 2023-01-04 10:30:28 +01:00
logging Add encoding in more tests 2023-06-20 04:55:40 -07:00
plugins_integration build(deps): Bump django in /testing/plugins_integration 2023-07-05 22:57:45 +00:00
python Fix error assertion handling in approx when None in dict comparison 2023-07-07 14:42:59 -04:00
acceptance_test.py Fix duplicated imports with importlib mode and doctest-modules (#11148) 2023-07-01 15:37:46 +00:00
conftest.py cacheprovider: make file-skipping work with any File, not just Modules 2023-06-03 09:32:26 +03:00
deprecated_test.py Apply suggestions from code review 2023-06-25 16:08:53 +01:00
test_argcomplete.py pytest-dev#8204 migrate some tests to tmp_path fixture (#8209) 2021-01-01 17:25:11 +02:00
test_assertion.py Drop Python 3.7 2023-06-30 14:55:42 -07:00
test_assertrewrite.py Merge branch 'main' into patch-1 2023-07-04 10:17:06 -07:00
test_cacheprovider.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_capture.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_collection.py python: change `pytest pkg/__init__.py` to only collect the `__init__.py` Module 2023-06-23 20:42:50 +03:00
test_compat.py Drop Python 3.7 2023-06-30 14:55:42 -07:00
test_config.py Drop Python 3.7 2023-06-30 14:55:42 -07:00
test_conftest.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_debugging.py Test fix 2022-10-14 13:53:06 -04:00
test_doctest.py python: change `pytest pkg/__init__.py` to only collect the `__init__.py` Module 2023-06-23 20:42:50 +03:00
test_entry_points.py Drop Python 3.7 2023-06-30 14:55:42 -07:00
test_error_diffs.py Fix diff output for data types where `-v` would show less information (#9661) 2022-02-15 09:43:20 -03:00
test_faulthandler.py Only re-enable fauthandler during unconfigure if it was enabled before 2021-01-25 12:28:00 -03:00
test_findpaths.py Fix bug where file system root was erroneously be used as rootdir on Windows 2022-11-23 14:46:00 -03:00
test_helpconfig.py Document the --code-highlight default (#9883) 2022-05-31 16:32:51 -03:00
test_junitxml.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_legacypath.py Ensure Config.inifile is available during pytest_cmdline_main 2022-01-04 10:03:28 -03:00
test_link_resolve.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_main.py Adjust tests for a last minute Python 3.11 change in the traceback format 2022-07-13 17:14:37 +02:00
test_mark.py fix #10447 - consider marks in reverse mro order to give base classes priority 2023-07-01 22:27:18 +02:00
test_mark_expression.py Support forwardslash characters in identifiers (#9249) 2021-11-01 08:54:18 +02:00
test_meta.py py36+: com2ann 2020-10-05 18:33:17 -07:00
test_monkeypatch.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_nodes.py Delay warning about collector/item diamond inheritance 2022-02-10 13:50:25 -03:00
test_nose.py python: change `pytest pkg/__init__.py` to only collect the `__init__.py` Module 2023-06-23 20:42:50 +03:00
test_parseopt.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_pastebin.py fix typing issues in mypy 0.920 2021-12-21 20:42:32 -05:00
test_pathlib.py Fix duplicated imports with importlib mode and doctest-modules (#11148) 2023-07-01 15:37:46 +00:00
test_pluginmanager.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_pytester.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_python_path.py Spelling and grammar fixes (#11014) 2023-05-18 10:10:44 -03:00
test_recwarn.py Further tweaks from code review 2023-07-04 10:00:29 -07:00
test_reports.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_runner.py Document the location tuple (#10700) 2023-02-12 11:20:53 -03:00
test_runner_xunit.py [pre-commit.ci] pre-commit autoupdate (#8201) 2020-12-30 11:56:09 +02:00
test_scope.py Refactor internal scope handling by introducing Scope enum 2021-08-01 06:11:56 -03:00
test_session.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_setuponly.py Migrate test_setuponly.py from testdir to pytester (#7959) 2020-10-29 09:55:30 +02:00
test_setupplan.py #7942 test_setupplan.py migrate from testdir to Pytester (#8004) 2020-11-07 09:29:45 -03:00
test_skipping.py Drop Python 3.7 2023-06-30 14:55:42 -07:00
test_stash.py Fix typos (#9424) 2021-12-27 09:23:15 -03:00
test_stepwise.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_terminal.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_threadexception.py Drop Python 3.7 2023-06-30 14:55:42 -07:00
test_tmpdir.py Add encoding in more tests 2023-06-20 04:55:40 -07:00
test_unittest.py Drop Python 3.7 2023-06-30 14:55:42 -07:00
test_unraisableexception.py Explicit GC for PyPy, take 2 2023-06-30 20:33:12 -07:00
test_warning_types.py fix #10342: put location into warning exceptions 2022-10-06 11:44:05 +02:00
test_warnings.py Change PytestRemovedIn8Warning to error by default 2023-06-23 16:42:24 +03:00
typing_checks.py monkeypatch: add support for TypedDict (#11000) 2023-05-14 22:17:00 +03:00