Skip to content

Commit 5bc3bf3

Browse files
committed
Fix
1 parent 0403341 commit 5bc3bf3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: matrix/tests/test_matrix_operation.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
logger.addHandler(stream_handler)
3232

3333

34-
@pytest.mark.mat_ops
34+
@pytest.mark.mat_ops()
3535
@pytest.mark.parametrize(
3636
("mat1", "mat2"), [(mat_a, mat_b), (mat_c, mat_d), (mat_d, mat_e), (mat_f, mat_h)]
3737
)
@@ -51,7 +51,7 @@ def test_addition(mat1, mat2):
5151
matop.add(mat1, mat2)
5252

5353

54-
@pytest.mark.mat_ops
54+
@pytest.mark.mat_ops()
5555
@pytest.mark.parametrize(
5656
("mat1", "mat2"), [(mat_a, mat_b), (mat_c, mat_d), (mat_d, mat_e), (mat_f, mat_h)]
5757
)
@@ -71,7 +71,7 @@ def test_subtraction(mat1, mat2):
7171
assert matop.subtract(mat1, mat2)
7272

7373

74-
@pytest.mark.mat_ops
74+
@pytest.mark.mat_ops()
7575
@pytest.mark.parametrize(
7676
("mat1", "mat2"), [(mat_a, mat_b), (mat_c, mat_d), (mat_d, mat_e), (mat_f, mat_h)]
7777
)
@@ -93,21 +93,21 @@ def test_multiplication(mat1, mat2):
9393
assert matop.subtract(mat1, mat2)
9494

9595

96-
@pytest.mark.mat_ops
96+
@pytest.mark.mat_ops()
9797
def test_scalar_multiply():
9898
act = (3.5 * np.array(mat_a)).tolist()
9999
theo = matop.scalar_multiply(mat_a, 3.5)
100100
assert theo == act
101101

102102

103-
@pytest.mark.mat_ops
103+
@pytest.mark.mat_ops()
104104
def test_identity():
105105
act = (np.identity(5)).tolist()
106106
theo = matop.identity(5)
107107
assert theo == act
108108

109109

110-
@pytest.mark.mat_ops
110+
@pytest.mark.mat_ops()
111111
@pytest.mark.parametrize("mat", [mat_a, mat_b, mat_c, mat_d, mat_e, mat_f])
112112
def test_transpose(mat):
113113
if (np.array(mat)).shape < (2, 2):

0 commit comments

Comments
 (0)