class documentation

class TestArrayInterface:

View In Hierarchy

Undocumented

Class ​Foo Undocumented
Method test​_scalar​_interface Undocumented
Class Variable f Undocumented
@pytest.mark.parametrize('val, iface, expected', [(f, {}, 0.5), ([f], {}, [0.5]), ([f, f], {}, [0.5, 0.5]), (f, {'shape': ()}, 0.5), (f, {'shape': None}, TypeError), (f, {'shape': (1, 1)}, [[0.5]]), (f, {'shape': (2)}, ValueError), (f, {'strides': ()}, 0.5), (f, {'strides': (2)}, ValueError), (f, {'strides': 16}, TypeError)])
def test_scalar_interface(self, val, iface, expected):

Undocumented

f =

Undocumented