https://github.com/python/cpython/commit/09896fca2f821fdac8c2ba28ae5a4596c179ead3
commit: 09896fca2f821fdac8c2ba28ae5a4596c179ead3
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: sobolevn <[email protected]>
date: 2024-05-09T08:43:03Z
summary:
[3.13] [tests]: Mark ``test_statistics.test_kde_random`` with a
``requires_resource('cpu')`` decorator (GH-118801) (#118818)
[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 <[email protected]>
files:
M Lib/test/test_statistics.py
diff --git a/Lib/test/test_statistics.py b/Lib/test/test_statistics.py
index 40680759d456ac..6f68edd447c953 100644
--- a/Lib/test/test_statistics.py
+++ b/Lib/test/test_statistics.py
@@ -2446,6 +2446,7 @@ def test_kde_kernel_invcdfs(self):
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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]