8000 [tests]: Mark ``test_statistics.test_kde_random`` with a ``requires_r… · python/cpython@027e6d8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 027e6d8

Browse files
authored
[tests]: Mark test_statistics.test_kde_random with a requires_resource('cpu') decorator (#118801)
Mark test_kde_random with a requires_resource('cpu') decorator
1 parent 2f4db5a commit 027e6d8

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)
0