diff --git a/pyfolio/tests/test_timeseries.py b/pyfolio/tests/test_timeseries.py index 17327bab7..fd592f596 100644 --- a/pyfolio/tests/test_timeseries.py +++ b/pyfolio/tests/test_timeseries.py @@ -338,14 +338,14 @@ def test_calc_bootstrap(self, true_mean, true_sd, n): assert_almost_equal( np.mean(samples), mean_of_mean, - 3, + 2, 'Mean of bootstrap does not match theoretical mean of' 'sampling distribution') assert_almost_equal( np.std(samples), sd_of_mean, - 3, + 2, 'SD of bootstrap does not match theoretical SD of' 'sampling distribution')