Skip to content

Commit d4c8e49

Browse files
jorenhamMaanasArora
authored andcommitted
TYP: disable mypy's no-untyped-call errors in the MaskedArray type-tests
1 parent bf3d46b commit d4c8e49

File tree

1 file changed

+2
-0
lines changed
  • numpy/typing/tests/data/pass

1 file changed

+2
-0
lines changed

numpy/typing/tests/data/pass/ma.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
_ScalarT = TypeVar("_ScalarT", bound=np.generic)
88
MaskedArray: TypeAlias = np.ma.MaskedArray[_Shape, np.dtype[_ScalarT]]
99

10+
# mypy: disable-error-code=no-untyped-call
11+
1012
MAR_b: MaskedArray[np.bool] = np.ma.MaskedArray([True])
1113
MAR_u: MaskedArray[np.uint32] = np.ma.MaskedArray([1], dtype=np.uint32)
1214
MAR_i: MaskedArray[np.int64] = np.ma.MaskedArray([1])

0 commit comments

Comments
 (0)