(self)
| 6565 | ) |
| 6566 | |
| 6567 | def test_getsource_reload(self): |
| 6568 | # see issue 1218234 |
| 6569 | with ready_to_import('reload_bug', self.src_before) as (name, path): |
| 6570 | module = importlib.import_module(name) |
| 6571 | self.assertInspectEqual(path, module) |
| 6572 | with open(path, 'w', encoding='utf-8') as src: |
| 6573 | src.write(self.src_after) |
| 6574 | self.assertInspectEqual(path, module) |
| 6575 | |
| 6576 | |
| 6577 | class TestRepl(unittest.TestCase): |
nothing calls this directly
no test coverage detected