diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-09 08:43:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-09 08:43:03 (GMT) |
commit | 09896fca2f821fdac8c2ba28ae5a4596c179ead3 (patch) | |
tree | 796f955be9142ea96159f85f7dd99e79bf019b92 /Lib/test/test_statistics.py | |
parent | 7b9ca26812fabcd1202238c989f0f0a9e5b02e87 (diff) | |
download | cpython-09896fca2f821fdac8c2ba28ae5a4596c179ead3.zip cpython-09896fca2f821fdac8c2ba28ae5a4596c179ead3.tar.gz cpython-09896fca2f821fdac8c2ba28ae5a4596c179ead3.tar.bz2 |
[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 027e6d88fb898b7477b822b84f791ca60e64300b)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Diffstat (limited to 'Lib/test/test_statistics.py')
-rw-r--r-- | Lib/test/test_statistics.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_statistics.py b/Lib/test/test_statistics.py index 4068075..6f68edd 100644 --- a/Lib/test/test_statistics.py +++ b/Lib/test/test_statistics.py @@ -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 |