summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tracemalloc.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23731: Implement PEP 488.Brett Cannon2015-04-131-5/+1
| | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.
* Skip some tests that require a subinterpreter launched with -E or -I when theGregory P. Smith2015-02-041-1/+3
|\ | | | | | | | | | | | | | | interpreter under test is being run in an environment that requires the use of environment variables such as PYTHONHOME in order to function at all. Adds a test.script_helper.interpreter_requires_environment() function to be used with @unittest.skipIf on stdlib test methods requiring this.
| * Skip some tests that require a subinterpreter launched with -E or -I when theGregory P. Smith2015-02-041-1/+3
|/ | | | | | | | interpreter under test is being run in an environment that requires the use of environment variables such as PYTHONHOME in order to function at all. Adds a private test.script_helper._interpreter_requires_environment() function to be used with @unittest.skipIf on stdlib test methods requiring this.
* Break up TestCommandLine.test_env_var into four distinct tests.Gregory P. Smith2015-01-221-3/+5
|
* Issue #21639: Add a test to check that PyMem_Malloc(0) with tracemalloc enabledVictor Stinner2014-06-021-0/+6
| | | | does not crash.
* tracemalloc: filter_traces() raises a TypeError if filters is not an iterableVictor Stinner2014-03-101-0/+2
|
* Issue #20616: Add a format() method to tracemalloc.Traceback.Victor Stinner2014-02-161-0/+20
|
* tracemalloc: Fix slicing traces and fix slicing a traceback.Victor Stinner2014-02-011-2/+8
|
* Closes #19786: tracemalloc, remove the arbitrary limit of 100 framesVictor Stinner2013-11-271-6/+6
| | | | | | | | The limit is now 178,956,969 on 64 bit (it is greater on 32 bit because structures are smaller). Use int instead of Py_ssize_t to store the number of frames to have smaller traceback_t objects.
* Close #19798: replace "maximum" term with "peak" in get_traced_memory()Victor Stinner2013-11-271-7/+7
| | | | documentation. Use also the term "current" for the current size.
* Cleanup test_tracemalloc.py. Patch written by Vajrasky Kok.Victor Stinner2013-11-251-4/+2
|
* Issue #18874: Remove tracemalloc.set_traceback_limit()Victor Stinner2013-11-231-12/+9
| | | | tracemalloc.start() now has an option nframe parameter
* Issue #18874: Implement the PEP 454 (tracemalloc)Victor Stinner2013-11-231-0/+797