Skip to content

Commit 9a4f681

Browse files
committed
CI error for not stating reason in unittest skip
1 parent 0e180c5 commit 9a4f681

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/py/dynamo/runtime/test_003_cross_compile_for_windows.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class TestCrossCompileSaveForWindows(TestCase):
1919
)
2020
@unittest.skipIf(
2121
not (check_cross_compile_trt_win_lib()),
22+
"TRT windows lib for cross compile not found",
2223
)
2324
@pytest.mark.unit
2425
def test_cross_compile_for_windows(self):
@@ -45,7 +46,10 @@ def forward(self, a, b):
4546
"Cross compile for windows can only be enabled on linux x86-64 platform",
4647
)
4748
@unittest.skipIf(
48-
not (check_cross_compile_trt_win_lib()),
49+
not (
50+
check_cross_compile_trt_win_lib(),
51+
"TRT windows lib for cross compile not found",
52+
),
4953
)
5054
@pytest.mark.unit
5155
def test_dynamo_cross_compile_for_windows(self):

0 commit comments

Comments
 (0)