[tests]: Mark ``test_statistics.test_kde_random`` with a ``requires_resource('cpu')`` decorator (GH-118801)
Mark test_kde_random with a requires_resource('cpu') decorator
(cherry picked from commit
027e6d88fb898b7477b822b84f791ca60e64300b)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
for x in xarr:
self.assertAlmostEqual(invcdf(cdf(x)), x, places=5)
+ @support.requires_resource('cpu')
def test_kde_random(self):
kde_random = statistics.kde_random
StatisticsError = statistics.StatisticsError