@@ -3,7 +3,6 @@ module test_np
3
3
use stdlib_filesystem, only : temp_dir, exists
4
4
use stdlib_kinds, only : int8, int16, int32, int64, sp, dp
5
5
use stdlib_io_np, only : save_npy, load_npy, load_npz, add_array, save_npz
6
- use stdlib_string_type, only : char
7
6
use testdrive, only : new_unittest, unittest_type, error_type, check, test_failed
8
7
implicit none
9
8
private
@@ -1190,9 +1189,8 @@ subroutine npz_save_two_arrays(error)
1190
1189
1191
1190
select type (typed_array = > arrays_reloaded(1 )% array)
1192
1191
class is (t_array_rdp_2)
1193
- call check(error, size (typed_array% values), size (input_array_1), &
1194
- " First array does not match in size: " // char (size (input_array_1))// " expected, " &
1195
- // char (size (typed_array% values))// " obtained." )
1192
+ print * , size (typed_array% values), size (input_array_1)
1193
+ call check(error, size (typed_array% values), size (input_array_1), " First array does not match in size." )
1196
1194
if (allocated (error)) then
1197
1195
call delete_file(output_file); return
1198
1196
end if
@@ -1207,9 +1205,7 @@ subroutine npz_save_two_arrays(error)
1207
1205
1208
1206
select type (typed_array = > arrays_reloaded(2 )% array)
1209
1207
class is (t_array_cdp_1)
1210
- call check(error, size (typed_array% values), size (input_array_2), &
1211
- " Second array does not match in size: " // char (size (input_array_2))// " expected, " &
1212
- // char (size (typed_array% values))// " obtained." )
1208
+ call check(error, size (typed_array% values), size (input_array_2), " Second array does not match in size." )
1213
1209
if (allocated (error)) then
1214
1210
call delete_file(output_file); return
1215
1211
end if
0 commit comments