We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4eef22 commit 96a7a64Copy full SHA for 96a7a64
tests/test_deprecation_warnings.py
@@ -46,3 +46,12 @@ def test_flowproposal_rescaled_names_warning():
46
proposal.prime_parameters = ["x"]
47
with pytest.warns(FutureWarning, match=r"`rescaled_names` is deprecated"):
48
assert FlowProposal.rescaled_names.__get__(proposal) == ["x"]
49
+
50
51
+def test_flowproposal_update_bounds_warning():
52
+ from nessai.proposal import FlowProposal
53
54
+ proposal = create_autospec(FlowProposal)
55
+ proposal.should_update_reparameterisations = True
56
+ with pytest.warns(FutureWarning, match=r"`update_bounds` is deprecated"):
57
+ assert FlowProposal.update_bounds.__get__(proposal) is True
0 commit comments