Skip to content

Commit 573ce3f

Browse files
darguetaaltendky
andauthored
Add ignore directive
Co-authored-by: Kyle Altendorf <[email protected]>
1 parent 7c01ff1 commit 573ce3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_make.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class A:
166166
@pytest.mark.parametrize("annotation_class", (t.List, t.Sequence, t.MutableSequence))
167167
def test_list(module: DataclassModule, annotation_class: type) -> None:
168168
"""Build a generic list *without* setting a factory on the dataclass."""
169-
cls = type("A", (object,), {"__annotations__": {"y": annotation_class[int]}})
169+
cls = type("A", (object,), {"__annotations__": {"y": annotation_class[int]}}) # type: ignore[index]
170170
A = module.dataclass(cls)
171171

172172
schema = desert.schema_class(A)()

0 commit comments

Comments
 (0)