Skip to content

Commit

Permalink
solve no binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisAlfredoNu committed Dec 17, 2024
1 parent 0f88b7e commit 03762a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/lightning_tensor/test_lightning_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@
import numpy as np
import pennylane as qml
import pytest
from conftest import LightningDevice, device_name # tested device
from conftest import LightningDevice, LightningException, device_name
from pennylane.tape import QuantumScript
from pennylane.wires import Wires

if device_name != "lightning.tensor":
pytest.skip("Skipping tests for the LightningTensor class.", allow_module_level=True)
else:
from pennylane_lightning.lightning_tensor import LightningTensor
from pennylane_lightning.lightning_tensor_ops import LightningException


if not LightningDevice._CPP_BINARY_AVAILABLE: # pylint: disable=protected-access
Expand Down

0 comments on commit 03762a4

Please sign in to comment.