diff --git a/ostap/stats/tests/test_stats_average.py b/ostap/stats/tests/test_stats_average.py index 95876afb..9f57d57a 100644 --- a/ostap/stats/tests/test_stats_average.py +++ b/ostap/stats/tests/test_stats_average.py @@ -21,10 +21,11 @@ try : import warnings - with warnings.catch_warnings( category = DeprecationWarning): + with warnings.catch_warnings(): warnings.simplefilter("ignore") import bayesian_average as ba + import numpy as np import warnings def ba_standard ( *values ) :