Skip to content

Commit b384efd

Browse files
authored
Merge pull request scipy#22359 from jorenham/maint/22164
2 parents f4e74dd + f647518 commit b384efd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scipy/io/arff/tests/test_arffread.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
missing = pjoin(data_path, 'missing.arff')
4141
expect_missing_raw = np.array([[1, 5], [2, 4], [np.nan, np.nan]])
4242
expect_missing = np.empty(3, [('yop', float), ('yap', float)])
43-
expect_missing['yop'] = expect_missing_raw[:, 0] # type: ignore[call-overload]
44-
expect_missing['yap'] = expect_missing_raw[:, 1] # type: ignore[call-overload]
43+
expect_missing['yop'] = expect_missing_raw[:, 0]
44+
expect_missing['yap'] = expect_missing_raw[:, 1]
4545

4646

4747
class TestData:

scipy/io/matlab/_mio5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ def to_writeable(source):
516516
class VarWriter5:
517517
''' Generic matlab matrix writing class '''
518518
mat_tag = np.zeros((), NDT_TAG_FULL)
519-
mat_tag['mdtype'] = miMATRIX # type: ignore[call-overload]
519+
mat_tag['mdtype'] = miMATRIX
520520

521521
def __init__(self, file_writer):
522522
self.file_stream = file_writer.file_stream

0 commit comments

Comments
 (0)