(self)
| 75 | sys.path_importer_cache.clear() |
| 76 | |
| 77 | def tearDown(self): |
| 78 | sys.path[:] = self.path |
| 79 | sys.meta_path[:] = self.meta_path |
| 80 | sys.path_hooks[:] = self.path_hooks |
| 81 | sys.path_importer_cache.clear() |
| 82 | |
| 83 | def test_inspect_getsource_issue4223(self): |
| 84 | test_src = "def foo(): pass\n" |