我们从Python开源项目中,提取了以下50个代码示例,用于说明如何使用wheel.signatures.keys.load_config_paths()。
def setUp(self): self.config = tempfile.NamedTemporaryFile(suffix='.json') self.config.close() self.config_path, self.config_filename = os.path.split(self.config.name) def load(*args): return [self.config_path] def save(*args): return self.config_path keys.load_config_paths = load keys.save_config_path = save self.wk = keys.WheelKeys() self.wk.CONFIG_NAME = self.config_filename