File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -285,6 +285,7 @@ def _compute_max(self) -> None:
285285 RuntimeWarning ,
286286 stacklevel = 2 ,
287287 )
288+ std_devs [std_devs <= 0 ] = np .finfo (float ).eps
288289 simulated_test_stat = incl_bs_avg_loss_err / std_devs
289290 simulated_test_stat = np .max (simulated_test_stat , 1 )
290291 loss_diffs = incl_losses .mean (axis = 0 )
Original file line number Diff line number Diff line change @@ -299,12 +299,12 @@ ignore = [
299299"arch/unitroot/_phillips_ouliaris.py" = [" RUF002" ]
300300"arch/unitroot/_engle_granger.py" = [" RUF001" ]
301301
302- [tool .pytest . ini_options ]
302+ [tool .pytest ]
303303strict_parametrization_ids = true
304304minversion = " 8.4.1"
305- testpaths = " arch"
305+ testpaths = [ " arch" ]
306306xfail_strict = true
307- addopts = " --strict"
307+ addopts = [ " --strict" ]
308308empty_parameter_set_mark = " xfail"
309309filterwarnings = [
310310 " ignore:`formatargspec`:DeprecationWarning:statsmodels" ,
@@ -331,6 +331,7 @@ filterwarnings = [
331331 " error:seed is deprecated:FutureWarning" ,
332332 " error:get_state is deprecated:FutureWarning" ,
333333 " error:Conversion of an array with ndim:DeprecationWarning:arch" ,
334+ " error:invalid value encountered in divide:RuntimeWarning"
334335]
335336junit_family = " xunit2"
336337markers = [
You can’t perform that action at this time.
0 commit comments