Message376462
> You could save/restore this data only when corresponded modules was imported, like it was done in clear_caches() in refleak.py.
It was my first idea, but some large modules like multiprocessing and asyncio are only imported by tested when the test file is imported, whereas save_environment() is called (__enter__) before the import in libregrtest.runtest. |
|
Date |
User |
Action |
Args |
2020-09-06 10:12:46 | vstinner | set | recipients:
+ vstinner, terry.reedy, zach.ware, serhiy.storchaka, pablogsal, shihai1991 |
2020-09-06 10:12:46 | vstinner | set | messageid: <1599387166.24.0.227998273967.issue41718@roundup.psfhosted.org> |
2020-09-06 10:12:46 | vstinner | link | issue41718 messages |
2020-09-06 10:12:45 | vstinner | create | |
|