Message371721
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. |
|
Date |
User |
Action |
Args |
2020-06-17 08:51:40 | corona10 | set | recipients:
+ corona10, vstinner |
2020-06-17 08:51:40 | corona10 | set | messageid: <1592383900.08.0.926903127768.issue40987@roundup.psfhosted.org> |
2020-06-17 08:51:40 | corona10 | link | issue40987 messages |
2020-06-17 08:51:40 | corona10 | create | |
|