Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate bind_parameters in favor of assign_parameters #10792

Merged
merged 12 commits into from
Sep 12, 2023
6 changes: 6 additions & 0 deletions test/python/circuit/test_parameters.py
jakelishman marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -1277,6 +1277,12 @@ class TestParameterExpressions(QiskitTestCase):

supported_operations = [add, sub, mul, truediv]

def setUp(self):
super().setUp()
# TODO: delete once bind_parameters is removed from the codebase
# and related tests are also removed.
warnings.filterwarnings("ignore", category=DeprecationWarning)
jakelishman marked this conversation as resolved.
Show resolved Hide resolved

def test_compare_to_value_when_bound(self):
"""Verify expression can be compared to a fixed value
when fully bound."""
Expand Down