@@ -80,7 +80,7 @@ def exc_task() -> None:
80
80
[(1 , 2 , 1 ), (2 , 101 , 10 ), (3 , 4096 , 12 ), (65535 , 1 , 2 )],
81
81
ids = str ,
82
82
)
83
- def test_input_output (self , shape : tuple [int ]) -> None :
83
+ def test_input_output (self , shape : tuple [int , ... ]) -> None :
84
84
runtime = get_legate_runtime ()
85
85
auto_task = runtime .create_auto_task (
86
86
runtime .core_library , tasks .copy_store_task .task_id
@@ -190,7 +190,9 @@ def test_mixed_input(self) -> None:
190
190
],
191
191
ids = ["accessed" , "unaccessed" ],
192
192
)
193
- def test_uninitialized_input_store (self , shape , accessed ) -> None :
193
+ def test_uninitialized_input_store (
194
+ self , shape : tuple [int , ...], accessed : bool
195
+ ) -> None :
194
196
runtime = get_legate_runtime ()
195
197
auto_task = runtime .create_auto_task (
196
198
runtime .core_library , tasks .copy_store_task .task_id
@@ -245,7 +247,7 @@ def test_add_scalar_arg_without_type(self) -> None:
245
247
@pytest .mark .parametrize (
246
248
"dtype" , [(ty .int32 , ty .int64 ), (np .int32 ,)], ids = str
247
249
)
248
- def test_unsupported_scalar_arg_type (self , dtype : tuple [Any ]) -> None :
250
+ def test_unsupported_scalar_arg_type (self , dtype : tuple [Any , ... ]) -> None :
249
251
runtime = get_legate_runtime ()
250
252
auto_task = runtime .create_auto_task (
251
253
runtime .core_library , tasks .basic_task .task_id
@@ -302,7 +304,10 @@ def test_alignment_non_input(self) -> None:
302
304
tmp_store = runtime .create_store (ty .int32 , (1 ,))
303
305
auto_task .add_input (in_store )
304
306
auto_task .add_alignment (in_store , tmp_store )
305
- with pytest .raises (IndexError , match = "_Map_base::at" ):
307
+ # not asserting on the error message for this particular case due to
308
+ # the message being unintuitive and may be compiler-dependent
309
+ # match="unordered_map::at"
310
+ with pytest .raises (IndexError ):
306
311
auto_task .execute ()
307
312
runtime .issue_execution_fence (block = True )
308
313
0 commit comments