9b8314cfe2
Fix test_sys.test_getallocatedblocks() when tracemalloc is enabled. If the name of Python memory allocators cannot get read, consider that pymalloc is disabled. Fix the following error: ./python -X tracemalloc -m test test_sys -v -m test_getallocatedblocks ERROR: test_getallocatedblocks (test.test_sys.SysModuleTest) ------------------------------------------------------------ Traceback (most recent call last): File "Lib/test/test_sys.py", line 770, in test_getallocatedblocks alloc_name = _testcapi.pymem_getallocatorsname() RuntimeError: cannot get allocators name |
||
---|---|---|
.. | ||
2019-03-19-17-39-25.bpo-31904.QxhhRx.rst | ||
2019-03-26-13-49-21.bpo-36436.yAtN0V.rst | ||
2019-04-08-19-01-21.bpo-36565.2bxgtU.rst | ||
2019-04-09-14-08-02.bpo-36560._ejeOr.rst | ||
2019-04-12-12-44-42.bpo-36611.UtorXL.rst | ||
README.rst |
README.rst
Put news entry `blurb`_ files for the *Tests* section in this directory. .. _blurb: https://pypi.org/project/blurb/