diff --git a/tests/templates/test_state_preparations/test_basis_state_prep.py b/tests/templates/test_state_preparations/test_basis_state_prep.py index 3fcca9a2d94..441af8e007d 100644 --- a/tests/templates/test_state_preparations/test_basis_state_prep.py +++ b/tests/templates/test_state_preparations/test_basis_state_prep.py @@ -38,7 +38,7 @@ def test_standard_validity(): def test_BasisStatePreparation_is_deprecated(): - """Test that my_feature is deprecated.""" + """Test that BasisStatePreparation is deprecated.""" with pytest.warns(qml.PennyLaneDeprecationWarning, match="BasisStatePreparation is deprecated"): _ = qml.BasisStatePreparation([1, 0], wires=[0, 1])