Dong-hee Na <donghee.n...@gmail.com> added the comment:
Hmm today I personally wrote the tests for it. Two goals should be achived 1. import doesn't crash 2. Memory leak should be detected. Running "import xxx" in _testcapi.run_in_subinterp() only detect that the import doesn't crash But the memory leak was not detected with a leaky module. So I'd like to suggest to write import tests on their module test by using _testcapi.run_in_subinterp() for each case. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40987> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com