Skip to content

Commit 921890e

Browse files
committed
Fix lint issues in the WTForms test case
1 parent 7bdfcbf commit 921890e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎stubs/WTForms/@tests/test_cases/check_optional_attributes.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import annotations
22

3-
from datetime import tzinfo
43
from collections.abc import Callable
4+
from datetime import tzinfo
55
from typing import Any
66
from typing_extensions import assert_type
77

@@ -12,7 +12,7 @@
1212

1313
# render_kw is None unless it was passed to the field
1414
field = StringField()
15-
assert_type(field.render_kw, "dict[str, Any] | None")
15+
assert_type(field.render_kw, dict[str, Any] | None)
1616
if field.render_kw is not None:
1717
field.render_kw["class"] = "form-control"
1818

0 commit comments

Comments
 (0)