MCPcopy Index your code
hub / github.com/ipython/ipython / test_list

Function test_list

tests/test_guarded_eval.py:230–233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228
229
230def test_list():
231 context = limited(data=[1, 2, 3])
232 assert guarded_eval("data[1]", context) == 2
233 assert guarded_eval("data.copy", context)
234
235
236def test_dict_literal():

Callers

nothing calls this directly

Calls 1

guarded_evalFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…