This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author corona10
Recipients corona10, vstinner
Date 2020-06-17.08:51:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1592383900.08.0.926903127768.issue40987@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-06-17 08:51:40corona10setrecipients: + corona10, vstinner
2020-06-17 08:51:40corona10setmessageid: <1592383900.08.0.926903127768.issue40987@roundup.psfhosted.org>
2020-06-17 08:51:40corona10linkissue40987 messages
2020-06-17 08:51:40corona10create