@@ -180,7 +180,7 @@ def test_init(self, expected: Any) -> None:
180
180
# Fail:
181
181
(
182
182
("x" ,),
183
- NamedArray ("time" , np .array ([1 , 2 , 3 ])),
183
+ NamedArray ("time" , np .array ([1 , 2 , 3 ])), # type: ignore
184
184
np .array ([1 , 2 , 3 ]),
185
185
True ,
186
186
),
@@ -341,7 +341,7 @@ def test_dims_setter(
341
341
def test_duck_array_class (self ) -> None :
342
342
numpy_a : NDArray [np .int64 ]
343
343
numpy_a = np .array ([2.1 , 4 ], dtype = np .dtype (np .int64 ))
344
- check_duck_array_typevar (numpy_a )
344
+ check_duck_array_typevar (numpy_a ) # type: ignore
345
345
346
346
masked_a : np .ma .MaskedArray [Any , np .dtype [np .int64 ]]
347
347
masked_a = np .ma .asarray ([2.1 , 4 ], dtype = np .dtype (np .int64 )) # type: ignore[no-untyped-call]
@@ -560,4 +560,4 @@ def test_broadcast_to_errors(
560
560
561
561
def test_warn_on_repeated_dimension_names (self ) -> None :
562
562
with pytest .warns (UserWarning , match = "Duplicate dimension names" ):
563
- NamedArray (("x" , "x" ), np .arange (4 ).reshape (2 , 2 ))
563
+ NamedArray (("x" , "x" ), np .arange (4 ).reshape (2 , 2 )) # type: ignore
0 commit comments