Skip to content

Commit

Permalink
Merge pull request #91 from PennyLaneAI/tensor-deprecation-patch
Browse files Browse the repository at this point in the history
Suppress Tensor deprecation warnings in `stable-latest` tests
  • Loading branch information
mudit2812 authored Oct 9, 2024
2 parents 8705cad + 197673b commit 63487c0
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/aqt-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/cirq-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/ionq-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/qiskit-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/qulacs-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/rigetti-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions workflow-template-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,6 @@ jobs:
python -m pytest plugin_repo/{{ tests_loc }} --tb=short {%- for kwarg in test_kwargs %} {{ kwarg }}{%- endfor %}{% if no_deprecation_error %}{% else %} \
-W "error::pennylane.PennyLaneDeprecationWarning"{% endif %}{% if latest or no_deprecation_error %}{% else %} \
-W "ignore:QubitDevice:pennylane.PennyLaneDeprecationWarning" \
-W "ignore:qml.operation.Tensor:pennylane.PennyLaneDeprecationWarning" \
-W "ignore:QubitStateVector:pennylane.PennyLaneDeprecationWarning"{% endif %}

0 comments on commit 63487c0

Please sign in to comment.