summaryrefslogtreecommitdiff
path: root/Lib/test/test_statistics.py
diff options
context:
space:
mode:
authorNeil Schemenauer <nas-github@arctrix.com>2019-07-30 11:08:18 -0700
committerGitHub <noreply@github.com>2019-07-30 11:08:18 -0700
commit52a48e62c6a94577152f9301bbe5f3bc806cfcf1 (patch)
treef19f86065e0217b3db53f90995cd6e806596f83b /Lib/test/test_statistics.py
parent27eeaf0f2c9bd53a0fbdfdf38ee759e971221f8d (diff)
downloadcpython-git-52a48e62c6a94577152f9301bbe5f3bc806cfcf1.tar.gz
bpo-37707: Exclude expensive unit tests from PGO task (GH-15009)
Mark some individual tests to skip when --pgo is used. The tests marked increase the PGO task time significantly and likely don't help improve optimization of the final executable.
Diffstat (limited to 'Lib/test/test_statistics.py')
-rw-r--r--Lib/test/test_statistics.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_statistics.py b/Lib/test/test_statistics.py
index ed2f6579b0..104718ed7d 100644
--- a/Lib/test/test_statistics.py
+++ b/Lib/test/test_statistics.py
@@ -14,6 +14,7 @@ import pickle
import random
import sys
import unittest
+from test import support
from decimal import Decimal
from fractions import Fraction
@@ -2462,6 +2463,7 @@ class TestNormalDist(unittest.TestCase):
self.assertEqual(X.cdf(float('Inf')), 1.0)
self.assertTrue(math.isnan(X.cdf(float('NaN'))))
+ @support.skip_if_pgo_task
def test_inv_cdf(self):
NormalDist = statistics.NormalDist