

def test_no_local(self):
    proxy = LocalProxy('test')
    with proxy.assertRaises(RuntimeError):
        proxy['foo'] = 'bar'

dataset/ETHPy150Open Stiivi/bubbles/tests/test_locals.py TestLocalProxy.test_no_local/VarMisuse@18/24 `self`->`proxy`