From 673e5a096619366db22724998a3fd4a3459eb1b2 Mon Sep 17 00:00:00 2001 From: touilleWoman Date: Thu, 30 Nov 2023 13:36:36 +0100 Subject: [PATCH] Fix: fix the "Customizing Colors" documentation section --- doc/en/how-to/logging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/how-to/logging.rst b/doc/en/how-to/logging.rst index b9f522fa4..bdcfbe34f 100644 --- a/doc/en/how-to/logging.rst +++ b/doc/en/how-to/logging.rst @@ -241,7 +241,7 @@ through ``add_color_level()``. Example: .. code-block:: python - @pytest.hookimpl + @pytest.hookimpl(trylast=True) def pytest_configure(config): logging_plugin = config.pluginmanager.get_plugin("logging-plugin")