From edab75c382add6ed729f4b3cf64b722e64373cc7 Mon Sep 17 00:00:00 2001 From: PietropaoloFrisoni Date: Fri, 26 Apr 2024 08:31:14 -0400 Subject: [PATCH] Typo in docstring --- tests/lightning_tensor/test_expval.py | 4 ++-- tests/lightning_tensor/test_lightning_tensor.py | 2 +- tests/lightning_tensor/test_var.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/lightning_tensor/test_expval.py b/tests/lightning_tensor/test_expval.py index b1cc2d2de6..d32062bfad 100644 --- a/tests/lightning_tensor/test_expval.py +++ b/tests/lightning_tensor/test_expval.py @@ -24,8 +24,8 @@ if not LightningDevice._new_API: pytest.skip("Exclusive tests for new API. Skipping.", allow_module_level=True) -if not LightningDevice._CPP_BINARY_AVAILABLE: # pylint: disable=protected-access - pytest.skip("No binary module found. Skipping.", allow_module_level=True) +if LightningDevice._CPP_BINARY_AVAILABLE: + pytest.skip("Device doesn't have C++ support yet.", allow_module_level=True) from pennylane_lightning.lightning_tensor import LightningTensor diff --git a/tests/lightning_tensor/test_lightning_tensor.py b/tests/lightning_tensor/test_lightning_tensor.py index 3d7d1033b8..9631bf6ad5 100644 --- a/tests/lightning_tensor/test_lightning_tensor.py +++ b/tests/lightning_tensor/test_lightning_tensor.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. """ -Unit tests for the generic lightning tensor class. +Unit tests for the LightningTensor class. """ diff --git a/tests/lightning_tensor/test_var.py b/tests/lightning_tensor/test_var.py index 0bc8f1d691..2cf3a50bdf 100644 --- a/tests/lightning_tensor/test_var.py +++ b/tests/lightning_tensor/test_var.py @@ -23,8 +23,8 @@ if not LightningDevice._new_API: pytest.skip("Exclusive tests for new API. Skipping.", allow_module_level=True) -if not LightningDevice._CPP_BINARY_AVAILABLE: # pylint: disable=protected-access - pytest.skip("No binary module found. Skipping.", allow_module_level=True) +if LightningDevice._CPP_BINARY_AVAILABLE: + pytest.skip("Device doesn't have C++ support yet.", allow_module_level=True) from pennylane_lightning.lightning_tensor import LightningTensor