Skip to content

Commit 6dfbc8f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a0f5c4d commit 6dfbc8f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tests/_save/stubs/test_stubs.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ def test_stub_registrations_dict() -> None:
2626

2727
@staticmethod
2828
@pytest.mark.skipif(
29-
not pytest.importorskip("pydantic_core", reason="pydantic not installed"),
29+
not pytest.importorskip(
30+
"pydantic_core", reason="pydantic not installed"
31+
),
3032
reason="pydantic required",
3133
)
3234
def test_maybe_register_stub_pydantic() -> None:
@@ -65,7 +67,9 @@ class TestModel(BaseModel):
6567

6668
@staticmethod
6769
@pytest.mark.skipif(
68-
not pytest.importorskip("pydantic_core", reason="pydantic not installed"),
70+
not pytest.importorskip(
71+
"pydantic_core", reason="pydantic not installed"
72+
),
6973
reason="pydantic required",
7074
)
7175
def test_maybe_register_stub_already_registered() -> None:
@@ -242,7 +246,9 @@ class TestStubIntegration:
242246

243247
@staticmethod
244248
@pytest.mark.skipif(
245-
not pytest.importorskip("pydantic_core", reason="pydantic not installed"),
249+
not pytest.importorskip(
250+
"pydantic_core", reason="pydantic not installed"
251+
),
246252
reason="pydantic required",
247253
)
248254
def test_cache_integration() -> None:

0 commit comments

Comments
 (0)