3131logger .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 ()
9797def 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 ()
104104def 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 ])
112112def test_transpose (mat ):
113113 if (np .array (mat )).shape < (2 , 2 ):
0 commit comments