Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomello committed Jul 5, 2024
1 parent 98a310a commit 2715155
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/test_models_encodings.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,6 @@ def test_unary_encoder(backend, nqubits, architecture, kind):
data = sampler.random(nqubits)
data = backend.cast(data, dtype=data.dtype)
unary_encoder(data, architecture="semi-diagonal")
if architecture == "tree":
with pytest.raises(ValueError):
data = sampler.random(nqubits + 1)
data = backend.cast(data, dtype=data.dtype)
unary_encoder(data, architecture=architecture)

# sampling random data in interval [-1, 1]
sampler = np.random.default_rng(1)
Expand Down

0 comments on commit 2715155

Please sign in to comment.