MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / test_attribute_variable_replace

Function test_attribute_variable_replace

tests/test_ast_rewrite.py:150–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148
149
150def test_attribute_variable_replace():
151 src = """
152 x = "hello"
153 x.replace("l", "s")
154 """
155 tree = process_source_code(src)
156 assert isinstance(tree, String)
157 assert str(tree) == "hesso"
158
159
160def test_variable_propagation():

Callers

nothing calls this directly

Calls 1

process_source_codeFunction · 0.85

Tested by

no test coverage detected