loguru/tests
Dave Hall 9311c763bb
Test against Python 3.12 (non-dev) and 3.13 (dev) (#1079)
* Testing against Python 3.12 (non-dev) and Python 3.13 (dev)

* Marking `3.13-dev` tests as failable

* Fixing `test_pickling` tests for Python 3.13.

The `Handler.lock` is substituted for a `nullcontext`, keeping Python 3.13 happy. A no-op stub for `Handler.release` is added, keeping all other Python versions happy.

* Fixing `test_pickling` tests for Python 3.13.

The `Handler.lock` is substituted for a `MockLock`, keeping Python 3.13 happy. A no-op stub for `Handler.release` is added, keeping all other Python versions happy.
2024-02-17 12:14:22 +01:00
..
exceptions Fix f-string formatting in traceback of Python 3.12 2023-09-11 11:01:57 +02:00
typesafety Avoid repetition of Mypy tests when possible 2023-12-03 13:35:15 +01:00
__init__.py Add basic logging functionalities 2018-12-07 00:13:17 +01:00
conftest.py Ensure new asyncio loops are properly closed during tests 2024-01-10 17:48:01 +01:00
test_activation.py Reformat tests and sources using "black" and "isort" 2021-03-13 19:38:02 +01:00
test_add_option_backtrace.py Remove ruff config excludes (#968) 2023-09-03 09:44:46 +02:00
test_add_option_catch.py Enable "RET" linting rule of Ruff and fix newly reported errors (#1034) 2023-12-16 16:04:52 +01:00
test_add_option_colorize.py Refactor "colorize" unit tests 2023-08-28 19:41:29 +02:00
test_add_option_context.py Fix error using "set_start_method()" after "logger" import (#974) 2023-09-11 16:19:41 +02:00
test_add_option_diagnose.py Remove ruff config excludes (#968) 2023-09-03 09:44:46 +02:00
test_add_option_enqueue.py Remove ruff config excludes (#968) 2023-09-03 09:44:46 +02:00
test_add_option_filter.py Add "typos" tool to pre-commit hooks 2023-10-27 11:52:50 +02:00
test_add_option_format.py Remove ruff config excludes (#968) 2023-09-03 09:44:46 +02:00
test_add_option_kwargs.py Fix buffering unit test failing on some platforms (#896) 2023-07-09 12:35:11 +02:00
test_add_option_level.py Reformat tests and sources using "black" and "isort" 2021-03-13 19:38:02 +01:00
test_add_option_serialize.py Remove ruff config excludes (#968) 2023-09-03 09:44:46 +02:00
test_add_sinks.py Ensure opened files are properly closed during tests 2024-01-10 17:48:01 +01:00
test_ansimarkup_basic.py Apply pre-commit fixes to all files 2022-06-19 18:50:30 +02:00
test_ansimarkup_extended.py Apply pre-commit fixes to all files 2022-06-19 18:50:30 +02:00
test_bind.py Reformat tests and sources using "black" and "isort" 2021-03-13 19:38:02 +01:00
test_colorama.py Fix tests monkeypatching affecting global state 2023-10-27 11:52:47 +02:00
test_configure.py Apply pre-commit fixes to all files 2022-06-19 18:50:30 +02:00
test_contextualize.py Fix tests monkeypatching affecting global state 2023-10-27 11:52:47 +02:00
test_coroutine_sink.py Ensure new asyncio loops are properly closed during tests 2024-01-10 17:48:01 +01:00
test_datetime.py Fix missing seconds when formatting timezone offset (#961) 2023-08-31 18:44:03 +02:00
test_deepcopy.py Reformat tests and sources using "black" and "isort" 2021-03-13 19:38:02 +01:00
test_defaults.py Fix warnings in tests due to invalid "setenv()" call 2024-01-10 12:10:58 +01:00
test_exceptions_catch.py Fix tests monkeypatching affecting global state 2023-10-27 11:52:47 +02:00
test_exceptions_formatting.py Add unit tests for theoretical "UnboundLocalError" 2023-10-03 00:13:22 +02:00
test_filesink_compression.py Fix tests monkeypatching affecting global state 2023-10-27 11:52:47 +02:00
test_filesink_delay.py Replace "tmpdir" fixture with "tmp_path" in tests 2022-06-11 13:08:20 +02:00
test_filesink_permissions.py Apply pre-commit fixes to all files 2022-06-19 18:50:30 +02:00
test_filesink_retention.py Add "typos" tool to pre-commit hooks 2023-10-27 11:52:50 +02:00
test_filesink_rotation.py Add "typos" tool to pre-commit hooks 2023-10-27 11:52:50 +02:00
test_filesink_watch.py Apply pre-commit fixes to all files 2022-06-19 18:50:30 +02:00
test_formatting.py Add support for Windows 10's ANSI/VT console (#935) 2023-08-29 10:27:47 +02:00
test_get_frame.py Fix tests monkeypatching affecting global state 2023-10-27 11:52:47 +02:00
test_interception.py Improve typing of PropagateHandler and InterceptHandler 2023-09-03 11:08:35 +02:00
test_levels.py Change default icon for "SUCCESS" level 2022-11-12 18:24:03 +01:00
test_locks.py Ensure (un)pickled loggers are properly cleared during tests 2024-01-10 17:48:01 +01:00
test_multiprocessing.py Ensure new asyncio loops are properly closed during tests 2024-01-10 17:48:01 +01:00
test_opt.py Add "typos" tool to pre-commit hooks 2023-10-27 11:52:50 +02:00
test_parse.py Ensure opened files are properly closed during tests 2024-01-10 17:48:01 +01:00
test_patch.py Allow "patch()" to be called multiple times on same logger (#462) 2022-04-29 12:37:00 +02:00
test_pickling.py Test against Python 3.12 (non-dev) and 3.13 (dev) (#1079) 2024-02-17 12:14:22 +01:00
test_propagation.py Remove ruff config excludes (#968) 2023-09-03 09:44:46 +02:00
test_recattr.py Remove ruff config excludes (#968) 2023-09-03 09:44:46 +02:00
test_remove.py Fix Flake8 linting warnings 2023-01-20 09:14:44 +01:00
test_repr.py Ensure opened files are properly closed during tests 2024-01-10 17:48:01 +01:00
test_standard_handler.py Remove ruff config excludes (#968) 2023-09-03 09:44:46 +02:00
test_threading.py Reformat tests and sources using "black" and "isort" 2021-03-13 19:38:02 +01:00
test_type_hinting.py Add pyproject.toml to handle most tool configs 2023-10-27 11:50:46 +02:00