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

Function test_subscript_variable_resolving

tests/test_ast_rewrite.py:123–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121
122
123def test_subscript_variable_resolving():
124 src = """
125 x = "Hello world"
126 y = x
127 y[::2]
128 """
129 tree = process_source_code(src)
130 assert isinstance(tree, String)
131 assert str(tree) == 'Hlowrd'
132
133
134def test_return_statement_constat_propagation():

Callers

nothing calls this directly

Calls 1

process_source_codeFunction · 0.85

Tested by

no test coverage detected