Skip to content

Commit

Permalink
Adding missing "not"
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunderberg committed May 18, 2022
1 parent 7173c39 commit 4a5087f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/tvm/testing/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 4a5087f

Please sign in to comment.