File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 332332L5:
333333 return 4
334334
335- [case testLowerIntForLoop ]
335+ [case testLowerIntForLoop_64bit ]
336336from __future__ import annotations
337337
338338def f(l: list[int]) -> None:
Original file line number Diff line number Diff line change 1515 MypycDataSuite ,
1616 assert_test_output ,
1717 build_ir_for_single_file ,
18+ infer_ir_build_options_from_test_name ,
1819 remove_comment_lines ,
1920 replace_word_size ,
2021 use_custom_builtins ,
@@ -31,11 +32,15 @@ class TestLowering(MypycDataSuite):
3132 base_path = test_temp_dir
3233
3334 def run_case (self , testcase : DataDrivenTestCase ) -> None :
35+ options = infer_ir_build_options_from_test_name (testcase .name )
36+ if options is None :
37+ # Skipped test case
38+ return
3439 with use_custom_builtins (os .path .join (self .data_prefix , ICODE_GEN_BUILTINS ), testcase ):
3540 expected_output = remove_comment_lines (testcase .output )
3641 expected_output = replace_word_size (expected_output )
3742 try :
38- ir = build_ir_for_single_file (testcase .input )
43+ ir = build_ir_for_single_file (testcase .input , options )
3944 except CompileError as e :
4045 actual = e .messages
4146 else :
You can’t perform that action at this time.
0 commit comments