MCPcopy Create free account
hub / github.com/apache/tvm / __init__

Method __init__

tests/python/ci/test_utils.py:37–43  ·  view source on GitHub ↗
(self, cwd)

Source from the content-addressed store, hash-verified

35 """
36
37 def __init__(self, cwd):
38 self.cwd = cwd
39 # Jenkins git is too old and doesn't have 'git init --initial-branch',
40 # so init and checkout need to be separate steps
41 self.run("init", stderr=subprocess.PIPE, stdout=subprocess.PIPE)
42 self.run("checkout", "-b", "main", stderr=subprocess.PIPE)
43 self.run("remote", "add", "origin", "https://github.com/apache/tvm.git")
44
45 def run(self, *args, **kwargs):
46 """

Callers

nothing calls this directly

Calls 1

runMethod · 0.95

Tested by

no test coverage detected