@@ -475,8 +475,8 @@ def __init__(self, x=2):
475475 test_env = test_env ,
476476 test_files = func_optimizer .test_files ,
477477 optimization_iteration = 0 ,
478- pytest_min_loops = 1 ,
479- pytest_max_loops = 1 ,
478+ min_outer_loops = 1 ,
479+ max_outer_loops = 1 ,
480480 testing_time = 0.1 ,
481481 )
482482 assert len (test_results ) == 3
@@ -508,8 +508,8 @@ def __init__(self, x=2):
508508 test_env = test_env ,
509509 test_files = func_optimizer .test_files ,
510510 optimization_iteration = 0 ,
511- pytest_min_loops = 1 ,
512- pytest_max_loops = 1 ,
511+ min_outer_loops = 1 ,
512+ max_outer_loops = 1 ,
513513 testing_time = 0.1 ,
514514 )
515515 match , _ = compare_test_results (test_results , test_results2 )
@@ -598,8 +598,8 @@ def __init__(self, *args, **kwargs):
598598 test_env = test_env ,
599599 test_files = func_optimizer .test_files ,
600600 optimization_iteration = 0 ,
601- pytest_min_loops = 1 ,
602- pytest_max_loops = 1 ,
601+ min_outer_loops = 1 ,
602+ max_outer_loops = 1 ,
603603 testing_time = 0.1 ,
604604 )
605605 assert len (test_results ) == 3
@@ -632,8 +632,8 @@ def __init__(self, *args, **kwargs):
632632 test_env = test_env ,
633633 test_files = func_optimizer .test_files ,
634634 optimization_iteration = 0 ,
635- pytest_min_loops = 1 ,
636- pytest_max_loops = 1 ,
635+ min_outer_loops = 1 ,
636+ max_outer_loops = 1 ,
637637 testing_time = 0.1 ,
638638 )
639639
@@ -725,8 +725,8 @@ def __init__(self, x=2):
725725 test_env = test_env ,
726726 test_files = func_optimizer .test_files ,
727727 optimization_iteration = 0 ,
728- pytest_min_loops = 1 ,
729- pytest_max_loops = 1 ,
728+ min_outer_loops = 1 ,
729+ max_outer_loops = 1 ,
730730 testing_time = 0.1 ,
731731 )
732732
@@ -761,8 +761,8 @@ def __init__(self, x=2):
761761 test_env = test_env ,
762762 test_files = func_optimizer .test_files ,
763763 optimization_iteration = 0 ,
764- pytest_min_loops = 1 ,
765- pytest_max_loops = 1 ,
764+ min_outer_loops = 1 ,
765+ max_outer_loops = 1 ,
766766 testing_time = 0.1 ,
767767 )
768768
@@ -889,8 +889,8 @@ def another_helper(self):
889889 test_env = test_env ,
890890 test_files = func_optimizer .test_files ,
891891 optimization_iteration = 0 ,
892- pytest_min_loops = 1 ,
893- pytest_max_loops = 1 ,
892+ min_outer_loops = 1 ,
893+ max_outer_loops = 1 ,
894894 testing_time = 0.1 ,
895895 )
896896
@@ -910,8 +910,8 @@ def another_helper(self):
910910 test_env = test_env ,
911911 test_files = func_optimizer .test_files ,
912912 optimization_iteration = 0 ,
913- pytest_min_loops = 1 ,
914- pytest_max_loops = 1 ,
913+ min_outer_loops = 1 ,
914+ max_outer_loops = 1 ,
915915 testing_time = 0.1 ,
916916 )
917917
@@ -1049,8 +1049,8 @@ def another_helper(self):
10491049 test_env = test_env ,
10501050 test_files = func_optimizer .test_files ,
10511051 optimization_iteration = 0 ,
1052- pytest_min_loops = 1 ,
1053- pytest_max_loops = 1 ,
1052+ min_outer_loops = 1 ,
1053+ max_outer_loops = 1 ,
10541054 testing_time = 0.1 ,
10551055 )
10561056
@@ -1101,8 +1101,8 @@ def target_function(self):
11011101 test_env = test_env ,
11021102 test_files = func_optimizer .test_files ,
11031103 optimization_iteration = 0 ,
1104- pytest_min_loops = 1 ,
1105- pytest_max_loops = 1 ,
1104+ min_outer_loops = 1 ,
1105+ max_outer_loops = 1 ,
11061106 testing_time = 0.1 ,
11071107 )
11081108 # Remove instrumentation
@@ -1140,8 +1140,8 @@ def target_function(self):
11401140 test_env = test_env ,
11411141 test_files = func_optimizer .test_files ,
11421142 optimization_iteration = 0 ,
1143- pytest_min_loops = 1 ,
1144- pytest_max_loops = 1 ,
1143+ min_outer_loops = 1 ,
1144+ max_outer_loops = 1 ,
11451145 testing_time = 0.1 ,
11461146 )
11471147 # Remove instrumentation
@@ -1179,8 +1179,8 @@ def target_function(self):
11791179 test_env = test_env ,
11801180 test_files = func_optimizer .test_files ,
11811181 optimization_iteration = 0 ,
1182- pytest_min_loops = 1 ,
1183- pytest_max_loops = 1 ,
1182+ min_outer_loops = 1 ,
1183+ max_outer_loops = 1 ,
11841184 testing_time = 0.1 ,
11851185 )
11861186 # Remove instrumentation
@@ -1471,8 +1471,8 @@ def calculate_portfolio_metrics(
14711471 test_env = test_env ,
14721472 test_files = func_optimizer .test_files ,
14731473 optimization_iteration = 0 ,
1474- pytest_min_loops = 1 ,
1475- pytest_max_loops = 1 ,
1474+ min_outer_loops = 1 ,
1475+ max_outer_loops = 1 ,
14761476 testing_time = 0.1 ,
14771477 )
14781478
@@ -1538,8 +1538,8 @@ def risk_adjusted_return(return_val, weight):
15381538 test_env = test_env ,
15391539 test_files = func_optimizer .test_files ,
15401540 optimization_iteration = 0 ,
1541- pytest_min_loops = 1 ,
1542- pytest_max_loops = 1 ,
1541+ min_outer_loops = 1 ,
1542+ max_outer_loops = 1 ,
15431543 testing_time = 0.1 ,
15441544 )
15451545 # Remove instrumentation
@@ -1601,8 +1601,8 @@ def calculate_portfolio_metrics(
16011601 test_env = test_env ,
16021602 test_files = func_optimizer .test_files ,
16031603 optimization_iteration = 0 ,
1604- pytest_min_loops = 1 ,
1605- pytest_max_loops = 1 ,
1604+ min_outer_loops = 1 ,
1605+ max_outer_loops = 1 ,
16061606 testing_time = 0.1 ,
16071607 )
16081608 # Remove instrumentation
@@ -1687,8 +1687,8 @@ def __init__(self, x, y):
16871687 test_env = test_env ,
16881688 test_files = func_optimizer .test_files ,
16891689 optimization_iteration = 0 ,
1690- pytest_min_loops = 1 ,
1691- pytest_max_loops = 1 ,
1690+ min_outer_loops = 1 ,
1691+ max_outer_loops = 1 ,
16921692 testing_time = 0.1 ,
16931693 )
16941694
0 commit comments