From f34471af4da826244a141769242dd6d7d3d610d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20F=C3=A9rat?= Date: Wed, 13 Sep 2023 13:41:43 +0100 Subject: [PATCH] Fix style --- pycrostates/segmentation/tests/test_transitions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pycrostates/segmentation/tests/test_transitions.py b/pycrostates/segmentation/tests/test_transitions.py index 16984b6c..c1a2afa8 100644 --- a/pycrostates/segmentation/tests/test_transitions.py +++ b/pycrostates/segmentation/tests/test_transitions.py @@ -148,13 +148,13 @@ def test_check_labels_n_clusters(): def test_deprecated_ignore_self(caplog): labels = np.random.randint(0, 5, size=100) log = "The 'ignore_self' parameter is deprecated" - + caplog.clear() M = compute_transition_matrix(labels, 5, ignore_self=True) assert log in caplog.text M_ = compute_transition_matrix(labels, 5, ignore_repetitions=True) assert_allclose(M, M_) - + caplog.clear() M = compute_expected_transition_matrix(labels, 5, ignore_self=True) assert log in caplog.text