Anki/pylib/tests
David Culley c0349ea9da
Improve exception handling (#3290)
* fix: except only non-system-exiting exceptions

see https://youtu.be/zrVfY9SuO64

* chore: add myself to CONTRIBUTORS file

* refactor: explicitly specify possible exceptions

If an exception is not an Exception, there are only three options left.
see https://docs.python.org/3/library/exceptions.html#exception-hierarchy

* refactor: use BaseException for fallback

Co-authored-by: Damien Elmes <dae@users.noreply.github.com>

* chore: add myself to contributors
2024-08-04 20:51:13 +07:00
..
support
__init__.py
shared.py
test_cards.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
test_collection.py
test_decks.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
test_exporting.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
test_find.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
test_flags.py
test_importing.py Improve exception handling (#3290) 2024-08-04 20:51:13 +07:00
test_latex.py Add a preference to toggle LaTeX generation (#3218) 2024-06-01 09:26:28 +01:00
test_media.py
test_models.py Dependency updates (#3040) 2024-02-28 16:28:04 +07:00
test_schedv3.py Update type annotations (#3322) 2024-07-26 17:57:25 +07:00
test_stats.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
test_template.py
test_utils.py Fix add-ons screen showing 'requires Anki >= 2.1.231000' 2023-11-05 11:16:09 +10:00