Skip to content

Commit 4a5087f

Browse files
committed
Adding missing "not"
1 parent 7173c39 commit 4a5087f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/tvm/testing/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ def _compile_only_marks(self):
641641
yield pytest.mark.skipif(True, reason=res)
642642
else:
643643
yield pytest.mark.skipif(
644-
res, reason=f"Compile-time support for {self.long_name} not present"
644+
not res, reason=f"Compile-time support for {self.long_name} not present"
645645
)
646646

647647
if self.target_kind_enabled is not None:
@@ -673,7 +673,7 @@ def _run_only_marks(self):
673673
yield pytest.mark.skipif(True, reason=res)
674674
else:
675675
yield pytest.mark.skipif(
676-
res, reason=f"Run-time support for {self.long_name} not present"
676+
not res, reason=f"Run-time support for {self.long_name} not present"
677677
)
678678

679679
if self.target_kind_hardware is not None:

0 commit comments

Comments
 (0)