(path)
| 352 | |
| 353 | @staticmethod |
| 354 | def _delete_path(path): |
| 355 | if os.path.isfile(path): |
| 356 | os.remove(path) # Remove file. |
| 357 | elif os.path.isdir(path): |
| 358 | shutil.rmtree(path) # Remove dir recursively. |
| 359 | |
| 360 | def _make_temp_path(self): |
| 361 | # Make a temp path as db_path. |
no test coverage detected