MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / tearDown

Method tearDown

diffusers/tests/others/test_check_copies.py:58–60  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

56 )
57
58 def tearDown(self):
59 check_copies.DIFFUSERS_PATH = "src/diffusers"
60 shutil.rmtree(self.diffusers_dir)
61
62 def check_copy_consistency(self, comment, class_name, class_code, overwrite_result=None):
63 code = comment + f"\nclass {class_name}(nn.Module):\n" + class_code

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected