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

Function test_accepts_non_overriden_properties

tests/test_guarded_eval.py:126–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124
125@dec.skip_without("pandas")
126def test_accepts_non_overriden_properties():
127 import pandas as pd
128
129 class GoodProperty(pd.Series):
130 pass
131
132 series = GoodProperty([1], index=["a"])
133 context = limited(data=series)
134
135 assert guarded_eval("data.iloc[0]", context) == 1
136
137
138@dec.skip_without("pandas")

Callers

nothing calls this directly

Calls 2

guarded_evalFunction · 0.90
GoodPropertyClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…