From 84b24c45d9f7efd8024e3299fdd3504e41191c18 Mon Sep 17 00:00:00 2001 From: Jayaram Kancherla Date: Sun, 12 Jan 2025 17:11:24 -0800 Subject: [PATCH] fix assertions --- tests/test_matrices.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_matrices.py b/tests/test_matrices.py index 1f24339..d77e7f3 100644 --- a/tests/test_matrices.py +++ b/tests/test_matrices.py @@ -22,7 +22,7 @@ def test_read_s4_matrix_dgc_with_rownames(): assert array is not None assert isinstance(array, MatrixWrapper) - assert len(array.dimnames[0]) = 100 + assert len(array.dimnames[0]) == 100 def test_read_s4_matrix_dgc_with_bothnames(): @@ -30,8 +30,8 @@ def test_read_s4_matrix_dgc_with_bothnames(): assert array is not None assert isinstance(array, MatrixWrapper) - assert len(array.dimnames[0]) = 100 - assert len(array.dimnames[0]) = 10 + assert len(array.dimnames[0]) == 100 + assert len(array.dimnames[0]) == 10 def test_read_s4_matrix_dgt(): array = read_rds("tests/data/s4_matrix_dgt.rds")