#NEWLINE# def pytest_generate_tests( metafunc ) : #NEWLINE# #INDENT# test_indices = range ( 1 ) #NEWLINE# test_funcs = [ Funcs . func_basic_ops , Funcs . func_real , Funcs . func_dot , Funcs . func_dot_reduction_mix , Funcs . func_scalar_broadcast , Funcs . func_transpose ] #NEWLINE# test_tensor_flags = [ 'pos_rand' , 'neg_rand' , 'rand' ] #NEWLINE# test_tensor_dims = [ ( 2 , 2 ) ] #NEWLINE# if ( 'custom_args' in test_funcs . fixturenames ) : #NEWLINE# #INDENT# fargs = itertools . product ( test_indices , test_funcs , test_tensor_flags , test_tensor_dims ) #NEWLINE# metafunc . parametrize ( 'custom_args' , fargs )