From 7040f1e549537ebb3fa7c8a15c1be1c0c8e21aca Mon Sep 17 00:00:00 2001 From: yinfan98 <32722923+yinfan98@users.noreply.github.com> Date: Sat, 7 Oct 2023 14:53:30 +0800 Subject: [PATCH] Update test_nms_match_small.py --- tests/test_ops/test_nms_match_small.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ops/test_nms_match_small.py b/tests/test_ops/test_nms_match_small.py index bcce3da949..1221f5598a 100644 --- a/tests/test_ops/test_nms_match_small.py +++ b/tests/test_ops/test_nms_match_small.py @@ -65,7 +65,7 @@ def forward(self, boxes, scores, iou_threshold, score_threshold): return match_op(boxes, scores, iou_threshold, score_threshold) -if os.getenv('CI') == 'true': +if get_ops_path is None: print('Skipping compilation in CI environment.') else: print('Running compilation...')