mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
[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 027e6d88fb
)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
This commit is contained in:
parent
7b9ca26812
commit
09896fca2f
1 changed files with 1 additions and 0 deletions
|
@ -2446,6 +2446,7 @@ class TestKDE(unittest.TestCase):
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue