mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
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.
This commit is contained in:
parent
27eeaf0f2c
commit
52a48e62c6
8 changed files with 24 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue