def test_parse_args_list(): x = [np.random.random((3, 3))] * 2 args = ('o', ) assert helpers.parse_args(x, args) == [('o', ), ('o', )]
def test_parse_args_array(): x = [np.random.random((3, 3))] args = ('o', ) assert helpers.parse_args(x, args) == [('o', )]