mirror of https://github.com/python/cpython
24ffe705c3
Previously every test was building an extension module and loading it into sys.modules. The tearDown function was thus not able to clean up correctly, resulting in memory leaks. With this commit, every test function now builds the extension module and runs the actual test code in a new process (using assert_python_ok), so that sys.modules stays intact and no memory gets leaked. |
||
---|---|---|
.. | ||
data | ||
peg_extension | ||
pegen | ||
scripts | ||
.clang-format | ||
.gitignore | ||
Makefile | ||
mypy.ini | ||
pyproject.toml | ||
requirements.pip |