From 0a99bcfbafcab22bf737d785d2f5494ee4ec6e57 Mon Sep 17 00:00:00 2001 From: Florence Townend Date: Wed, 29 Nov 2023 17:30:59 +0000 Subject: [PATCH] fixed Error type assertion in modification test --- tests/test_models/test_subspace_and_graph_methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_models/test_subspace_and_graph_methods.py b/tests/test_models/test_subspace_and_graph_methods.py index d731cd3..38caaa0 100644 --- a/tests/test_models/test_subspace_and_graph_methods.py +++ b/tests/test_models/test_subspace_and_graph_methods.py @@ -499,7 +499,7 @@ def test_AttentionWeightedGraphMaker(): assert hasattr(attention_weighted_graph_maker, "early_stop_callback") # Check if parameters are valid - with pytest.raises(ValueError): + with pytest.raises(TypeError): attention_weighted_graph_maker.edge_probability_threshold = -0.1 attention_weighted_graph_maker.check_params()