Skip to content

Commit

Permalink
fix: linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Nov 18, 2024
1 parent ef925b3 commit 094cd06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_contrib/test_attrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_contrib_attrs_deprecation_warning() -> None:
purge_module(["litestar.contrib.attrs"], __file__)
with pytest.warns(
DeprecationWarning, match="importing AttrsSchemaPlugin from 'litestar.contrib.attrs' is deprecated"
) as warning_info:
):
from litestar.contrib.attrs import AttrsSchemaPlugin


Expand All @@ -34,7 +34,7 @@ def test_contrib_attrs_schema_deprecation_warning() -> None:
with pytest.warns(
DeprecationWarning,
match="importing AttrsSchemaPlugin from 'litestar.contrib.attrs.attrs_schema_plugin' is deprecated",
) as warning_info:
):
from litestar.contrib.attrs.attrs_schema_plugin import AttrsSchemaPlugin


Expand Down

0 comments on commit 094cd06

Please sign in to comment.