From 4a5087fdefea337fe5c0a2037ea9c87bc5fb721f Mon Sep 17 00:00:00 2001 From: Eric Lunderberg Date: Wed, 18 May 2022 10:50:11 -0500 Subject: [PATCH] Adding missing "not" --- python/tvm/testing/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/tvm/testing/utils.py b/python/tvm/testing/utils.py index 1eecfa9f74bf1..86e509b1217b8 100644 --- a/python/tvm/testing/utils.py +++ b/python/tvm/testing/utils.py @@ -641,7 +641,7 @@ def _compile_only_marks(self): yield pytest.mark.skipif(True, reason=res) else: yield pytest.mark.skipif( - res, reason=f"Compile-time support for {self.long_name} not present" + not res, reason=f"Compile-time support for {self.long_name} not present" ) if self.target_kind_enabled is not None: @@ -673,7 +673,7 @@ def _run_only_marks(self): yield pytest.mark.skipif(True, reason=res) else: yield pytest.mark.skipif( - res, reason=f"Run-time support for {self.long_name} not present" + not res, reason=f"Run-time support for {self.long_name} not present" ) if self.target_kind_hardware is not None: