()
| 38 | |
| 39 | |
| 40 | def _cleanup(): |
| 41 | global _module_dir |
| 42 | if _module_dir is not None: |
| 43 | try: |
| 44 | sys.path.remove(_module_dir) |
| 45 | except ValueError: |
| 46 | pass |
| 47 | try: |
| 48 | shutil.rmtree(_module_dir) |
| 49 | except OSError: |
| 50 | pass |
| 51 | _module_dir = None |
| 52 | |
| 53 | |
| 54 | def get_module_dir(): |
nothing calls this directly
no outgoing calls
no test coverage detected