Skip to content

Commit

Permalink
Typo in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
PietropaoloFrisoni committed Apr 26, 2024
1 parent abe1c08 commit edab75c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/lightning_tensor/test_expval.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion tests/lightning_tensor/test_lightning_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""


Expand Down
4 changes: 2 additions & 2 deletions tests/lightning_tensor/test_var.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit edab75c

Please sign in to comment.