Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 027e6d8

Browse filesBrowse 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
Copy full SHA for 027e6d8

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎Lib/test/test_statistics.py

Copy file name to clipboardExpand all lines: Lib/test/test_statistics.py
+1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.