(self)
| 47 | |
| 48 | class CopyCheckTester(unittest.TestCase): |
| 49 | def setUp(self): |
| 50 | self.diffusers_dir = tempfile.mkdtemp() |
| 51 | os.makedirs(os.path.join(self.diffusers_dir, "schedulers/")) |
| 52 | check_copies.DIFFUSERS_PATH = self.diffusers_dir |
| 53 | shutil.copy( |
| 54 | os.path.join(git_repo_path, "src/diffusers/schedulers/scheduling_ddpm.py"), |
| 55 | os.path.join(self.diffusers_dir, "schedulers/scheduling_ddpm.py"), |
| 56 | ) |
| 57 | |
| 58 | def tearDown(self): |
| 59 | check_copies.DIFFUSERS_PATH = "src/diffusers" |
nothing calls this directly
no outgoing calls
no test coverage detected