File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 4343
4444from .conftest import ClientWithHandler , TestEnv , try_import
4545
46- try :
47- from pydantic_ai .providers .google import GoogleProvider
48- except ImportError : # pragma: lax no cover
49- GoogleProvider = None
50-
51-
52- try :
53- import logfire
54- except ImportError : # pragma: lax no cover
55- logfire = None
56-
57-
5846with try_import () as imports_successful :
47+ # We check whether fasta2a is importable as a proxy for whether all extras are installed, as some docs examples require them
48+ import fasta2a # noqa: F401
49+
5950 from pydantic_evals .reporting import EvaluationReport
6051
6152
6253pytestmark = [
6354 pytest .mark .skipif (not imports_successful (), reason = 'extras not installed' ),
64- pytest .mark .skipif (logfire is None or GoogleProvider is None , reason = 'logfire or google-provider not installed' ),
6555]
6656code_examples : dict [str , CodeExample ] = {}
6757
You can’t perform that action at this time.
0 commit comments