Message398752
From f468ede4a2b7ab5c72ae85ab04cb56904300cd23:
This code looks quite dangerous:
class TestGetsourceInteractive(unittest.TestCase):
def tearDown(self):
mod.ParrotDroppings.__module__ = mod
sys.modules['__main__'] = self.main
That is modifing sys.modules globally! |
|
Date |
User |
Action |
Args |
2021-08-02 11:05:43 | pablogsal | set | recipients:
+ pablogsal, lukasz.langa, Mark.Shannon |
2021-08-02 11:05:43 | pablogsal | set | messageid: <1627902343.79.0.640806475369.issue44808@roundup.psfhosted.org> |
2021-08-02 11:05:43 | pablogsal | link | issue44808 messages |
2021-08-02 11:05:43 | pablogsal | create | |
|