Skip to content

Commit 09896fc

Browse files
[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 027e6d8) Co-authored-by: Kirill Podoprigora <[email protected]>
1 parent 7b9ca26 commit 09896fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_statistics.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2446,6 +2446,7 @@ def test_kde_kernel_invcdfs(self):
24462446
for x in xarr:
24472447
self.assertAlmostEqual(invcdf(cdf(x)), x, places=5)
24482448

2449+
@support.requires_resource('cpu')
24492450
def test_kde_random(self):
24502451
kde_random = statistics.kde_random
24512452
StatisticsError = statistics.StatisticsError

0 commit comments

Comments
 (0)