Skip to content

Commit

Permalink
fixed Error type assertion in modification test
Browse files Browse the repository at this point in the history
  • Loading branch information
florencejt committed Nov 29, 2023
1 parent f20a939 commit 0a99bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_models/test_subspace_and_graph_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 0a99bcf

Please sign in to comment.