MCPcopy Create free account
hub / github.com/catboost/catboost / codeToLines

Method codeToLines

contrib/tools/cython/Cython/TestUtils.py:71–74  ·  view source on GitHub ↗
(self, tree)

Source from the content-addressed store, hash-verified

69 "Unmatched lines. Got:\n%s\nExpected:\n%s" % ("\n".join(expected), "\n".join(result)))
70
71 def codeToLines(self, tree):
72 writer = CodeWriter()
73 writer.write(tree)
74 return writer.result.lines
75
76 def codeToString(self, tree):
77 return "\n".join(self.codeToLines(tree))

Callers 2

codeToStringMethod · 0.95
assertCodeMethod · 0.95

Calls 2

CodeWriterClass · 0.90
writeMethod · 0.45

Tested by

no test coverage detected