@@ -126,7 +126,7 @@ def test_apply_exponent_safe_produces_correct_shape(self):
126126
127127 output = media_transforms .apply_exponent_safe (data = data , exponent = exponent )
128128
129- np .testing .assert_array_equal (x = output , y = data ** exponent )
129+ np .testing .assert_array_equal (output , data ** exponent )
130130
131131 def test_apply_exponent_safe_produces_same_exponent_results (self ):
132132 data = jnp .ones ((10 , 5 ))
@@ -156,7 +156,7 @@ def test_adstock_zeros_stay_zeros(self):
156156 generated_output = media_transforms .adstock (
157157 data = data , lag_weight = lag_weight )
158158
159- np .testing .assert_array_equal (x = generated_output , y = data )
159+ np .testing .assert_array_equal (generated_output , data )
160160
161161 def test_hill_zeros_stay_zeros (self ):
162162 data = jnp .zeros ((10 , 5 ))
@@ -168,7 +168,7 @@ def test_hill_zeros_stay_zeros(self):
168168 half_max_effective_concentration = half_max_effective_concentration ,
169169 slope = slope )
170170
171- np .testing .assert_array_equal (x = generated_output , y = data )
171+ np .testing .assert_array_equal (generated_output , data )
172172
173173 def test_carryover_zeros_stay_zeros (self ):
174174 data = jnp .zeros ((10 , 5 ))
@@ -180,7 +180,7 @@ def test_carryover_zeros_stay_zeros(self):
180180 ad_effect_retention_rate = ad_effect_retention_rate ,
181181 peak_effect_delay = peak_effect_delay )
182182
183- np .testing .assert_array_equal (x = generated_output , y = data )
183+ np .testing .assert_array_equal (generated_output , data )
184184
185185
186186@parameterized .parameters (range (1 , 5 ))
0 commit comments