From 027e6d88fb898b7477b822b84f791ca60e64300b Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Thu, 9 May 2024 11:16:37 +0300 Subject: [tests]: Mark ``test_statistics.test_kde_random`` with a ``requires_resource('cpu')`` decorator (#118801) Mark test_kde_random with a requires_resource('cpu') decorator --- Lib/test/test_statistics.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_statistics.py b/Lib/test/test_statistics.py index 4068075..6f68edd 100644 --- a/Lib/test/test_statistics.py +++ b/Lib/test/test_statistics.py @@ -2446,6 +2446,7 @@ class TestKDE(unittest.TestCase): 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 -- cgit v0.12