Skip to content

Commit 1380be9

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

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
@@ -177,7 +177,7 @@ def test_list(module: DataclassModule, annotation_class: type) -> None:
177177
@pytest.mark.parametrize("annotation_class", (t.Dict, t.Mapping, t.MutableMapping))
178178
def test_dict(module: DataclassModule, annotation_class: type) -> None:
179179
"""Build a dict without setting a factory on the dataclass."""
180-
cls = type("A", (object,), {"__annotations__": {"y": annotation_class[int, int]}})
180+
cls = type("A", (object,), {"__annotations__": {"y": annotation_class[int, int]}}) # type: ignore[index]
181181
A = module.dataclass(cls)
182182

183183
schema = desert.schema_class(A)()

0 commit comments

Comments
 (0)