Skip to content

Commit 97f8089

Browse files
Eclips4miss-islington
authored andcommitted
[tests]: Mark test_statistics.test_kde_random with a requires_resource('cpu') decorator (pythonGH-118801)
Mark test_kde_random with a requires_resource('cpu') decorator (cherry picked from commit 027e6d8) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
1 parent 7b9ca26 commit 97f8089

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)