MCPcopy Index your code
hub / github.com/FSoft-AI4Code/CodeText-parser / test_parse_code

Method test_parse_code

tests/test_utils/test_utils.py:12–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

10 build_language(language=l)
11
12 def test_parse_code(self):
13 sample = """
14 def sum_2_num(a, b):
15 return a + b
16 """
17 parse_code(sample, 'python')
18
19
20if __name__ == '__main__':

Callers

nothing calls this directly

Calls 1

parse_codeFunction · 0.90

Tested by

no test coverage detected