def lock_array(a):
    safe_call(backend.get().af_lock_array(a.arr))
Fail unless an exception of class excClass is thrown by callableObj when
dataset/ETHPy150Open arrayfire/arrayfire-python/arrayfire/device.py/lock_array--crossover with--dataset/ETHPy150Open JetBrains/python-skeletons/nose/tools/__init__.py/assert_raises