Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/python/circuit/test_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ def test_complex_angle_raises_when_not_supported(self):
def test_operating_on_a_parameter_with_a_non_float_will_raise(self):
"""Verify operations between a Parameter and a non-float will raise."""

bad_constants = ["1", numpy.Inf, numpy.NaN, None, {}, []]
bad_constants = ["1", numpy.inf, numpy.nan, None, {}, []]

x = Parameter("x")

Expand Down