(self)
| 66 | |
| 67 | class LogTest(unittest.TestCase): |
| 68 | def setUp(self): |
| 69 | if ray.is_initialized(): |
| 70 | ray.shutdown() |
| 71 | self.config = get_template_config() |
| 72 | self.config.check_and_update() |
| 73 | self.log_dir = self.config.log.save_dir |
| 74 | shutil.rmtree(self.log_dir, ignore_errors=True) |
| 75 | os.makedirs(self.log_dir, exist_ok=True) |
| 76 | |
| 77 | def test_no_actor_log(self): |
| 78 | ray.init( |
nothing calls this directly
no test coverage detected