Skip to content

Commit f7ae6be

Browse files
committed
format & restore
1 parent d8086c1 commit f7ae6be

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pydantic_ai_slim/pydantic_ai/profiles/google.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
def google_model_profile(model_name: str) -> ModelProfile | None:
1212
"""Get the model profile for a Google model."""
13-
import time
14-
time.sleep(0.001)
1513
return ModelProfile(
1614
json_schema_transformer=GoogleJsonSchemaTransformer,
1715
supports_json_schema_output=True,

tests/test_examples.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def tmp_path_cwd(tmp_path: Path):
107107
os.chdir(cwd)
108108
sys.path.remove(str(tmp_path))
109109

110+
110111
@pytest.mark.xdist_group(name='doc_tests')
111112
@pytest.mark.parametrize('example', find_filter_examples())
112113
def test_docs_examples( # noqa: C901
@@ -117,7 +118,7 @@ def test_docs_examples( # noqa: C901
117118
allow_model_requests: None,
118119
env: TestEnv,
119120
tmp_path_cwd: Path,
120-
benchmark: Any
121+
benchmark: Any,
121122
):
122123
mocker.patch('pydantic_ai.agent.models.infer_model', side_effect=mock_infer_model)
123124
mocker.patch('pydantic_ai._utils.group_by_temporal', side_effect=mock_group_by_temporal)

0 commit comments

Comments
 (0)