@@ -368,15 +368,15 @@ def test_task_nostate_1(plugin):
368368 # checking the results
369369 results = nn .result ()
370370 assert results .output .out == 5
371- # checking the verbose option, either verbose= True, or verbose= "val",
371+ # checking the return_inputs option, either is return_inputs is True, or "val",
372372 # it should give values of inputs that corresponds to the specific element
373- results_verb = nn .result (verbose = True )
374- results_verb_val = nn .result (verbose = "val" )
373+ results_verb = nn .result (return_inputs = True )
374+ results_verb_val = nn .result (return_inputs = "val" )
375375 assert results_verb [0 ] == results_verb_val [0 ] == {"NA.a" : 3 }
376376 assert results_verb [1 ].output .out == results_verb_val [1 ].output .out == 5
377- # checking the verbose option verbose ="ind"
377+ # checking the return_inputs option return_inputs ="ind"
378378 # it should give indices of inputs (instead of values) for each element
379- results_verb_ind = nn .result (verbose = "ind" )
379+ results_verb_ind = nn .result (return_inputs = "ind" )
380380 assert results_verb_ind [0 ] == {"NA.a" : None }
381381 assert results_verb_ind [1 ].output .out == 5
382382
@@ -722,17 +722,17 @@ def test_task_state_1(plugin):
722722 for i , res in enumerate (expected ):
723723 assert results [i ].output .out == res [1 ]
724724
725- # checking the verbose option, either verbose= True, or verbose= "val",
725+ # checking the return_inputs option, either return_inputs is True or "val",
726726 # it should give values of inputs that corresponds to the specific element
727- results_verb = nn .result (verbose = True )
728- results_verb_val = nn .result (verbose = "val" )
727+ results_verb = nn .result (return_inputs = True )
728+ results_verb_val = nn .result (return_inputs = "val" )
729729 for i , res in enumerate (expected ):
730730 assert (results_verb [i ][0 ], results_verb [i ][1 ].output .out ) == res
731731 assert (results_verb_val [i ][0 ], results_verb_val [i ][1 ].output .out ) == res
732732
733- # checking the verbose option verbose ="ind"
733+ # checking the return_inputs option return_inputs ="ind"
734734 # it should give indices of inputs (instead of values) for each element
735- results_verb_ind = nn .result (verbose = "ind" )
735+ results_verb_ind = nn .result (return_inputs = "ind" )
736736 expected_ind = [({"NA.a" : 0 }, 5 ), ({"NA.a" : 1 }, 7 )]
737737 for i , res in enumerate (expected_ind ):
738738 assert (results_verb_ind [i ][0 ], results_verb_ind [i ][1 ].output .out ) == res
@@ -815,17 +815,17 @@ def test_task_state_2(
815815 for i , res in enumerate (expected ):
816816 assert results [i ].output .out == res [1 ]
817817
818- # checking the verbose option, either verbose= True, or verbose= "val",
818+ # checking the return_inputs option, either return_inputs is True or "val",
819819 # it should give values of inputs that corresponds to the specific element
820- results_verb = nn .result (verbose = True )
821- results_verb_val = nn .result (verbose = "val" )
820+ results_verb = nn .result (return_inputs = True )
821+ results_verb_val = nn .result (return_inputs = "val" )
822822 for i , res in enumerate (expected ):
823823 assert (results_verb [i ][0 ], results_verb [i ][1 ].output .out ) == res
824824 assert (results_verb_val [i ][0 ], results_verb_val [i ][1 ].output .out ) == res
825825
826- # checking the verbose option verbose ="ind"
826+ # checking the return_inputs option return_inputs ="ind"
827827 # it should give indices of inputs (instead of values) for each element
828- results_verb_ind = nn .result (verbose = "ind" )
828+ results_verb_ind = nn .result (return_inputs = "ind" )
829829 for i , res in enumerate (expected_ind ):
830830 assert (results_verb_ind [i ][0 ], results_verb_ind [i ][1 ].output .out ) == res
831831
@@ -1040,16 +1040,16 @@ def test_task_state_comb_1(plugin):
10401040
10411041 expected = [({"NA.a" : 3 }, 5 ), ({"NA.a" : 5 }, 7 )]
10421042 expected_ind = [({"NA.a" : 0 }, 5 ), ({"NA.a" : 1 }, 7 )]
1043- # checking the verbose option, either verbose= True, or verbose= "val",
1043+ # checking the return_inputs option, either return_inputs is True or "val",
10441044 # it should give values of inputs that corresponds to the specific element
1045- results_verb = nn .result (verbose = True )
1046- results_verb_val = nn .result (verbose = "val" )
1045+ results_verb = nn .result (return_inputs = True )
1046+ results_verb_val = nn .result (return_inputs = "val" )
10471047 for i , res in enumerate (expected ):
10481048 assert (results_verb [i ][0 ], results_verb [i ][1 ].output .out ) == res
10491049 assert (results_verb_val [i ][0 ], results_verb_val [i ][1 ].output .out ) == res
1050- # checking the verbose option verbose ="ind"
1050+ # checking the return_inputs option return_inputs ="ind"
10511051 # it should give indices of inputs (instead of values) for each element
1052- results_verb_ind = nn .result (verbose = "ind" )
1052+ results_verb_ind = nn .result (return_inputs = "ind" )
10531053 for i , res in enumerate (expected_ind ):
10541054 assert (results_verb_ind [i ][0 ], results_verb_ind [i ][1 ].output .out ) == res
10551055
@@ -1172,9 +1172,9 @@ def test_task_state_comb_2(
11721172
11731173 # checking the results
11741174 results = nn .result ()
1175- # checking the verbose option, either verbose= True, or verbose= "val",
1175+ # checking the return_inputs option, either return_inputs is True or "val",
11761176 # it should give values of inputs that corresponds to the specific element
1177- results_verb = nn .result (verbose = True )
1177+ results_verb = nn .result (return_inputs = True )
11781178
11791179 if nn .state .splitter_rpn_final :
11801180 for i , res in enumerate (expected ):
0 commit comments