Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

docs(test): fix loguru_caplog usage example (#6374)

SivaSubramaniyen65f6093bf019
diff --git a/tests/conftest.py b/tests/conftest.py
index 111cd418e6..69e5a9a363 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1122,8 +1122,7 @@ def loguru_caplog(caplog):
Usage:
def test_something(loguru_caplog):
- import logging
- with loguru_caplog.at_level(logging.WARNING):
+ with loguru_caplog.at_level("WARNING"):
# ... code that uses loguru logging ...
assert "expected message" in loguru_caplog.text
"""