Index: pydantic-settings/tests/test_docs.py
===================================================================
--- a/tests/test_docs.py
+++ b/tests/test_docs.py
@@ -6,6 +6,7 @@ import sys
 from pathlib import Path
 
 import pytest
+pytest.importorskip("pytest_examples")
 from pytest_examples import CodeExample, EvalExample, find_examples
 from pytest_examples.config import ExamplesConfig
 from pytest_examples.lint import black_format
