@@ -1350,7 +1350,7 @@ def test_minimize_const(self):
1350
1350
failures_df = qdb .util ._resource_allocation_failures (
1351
1351
self .df , k , a , b , bm , self .col_name , 'MaxRSSRaw' )
1352
1352
failures = failures_df .shape [0 ]
1353
- self .assertEqual (bm , qdb .util .mem_model3 ,
1353
+ self .assertEqual (bm , qdb .util .mem_model4 ,
1354
1354
msg = f"""Best memory model
1355
1355
doesn't match
1356
1356
Coefficients:{ k } { a } { b }
@@ -1371,8 +1371,15 @@ def test_minimize_const(self):
1371
1371
self .df , k , a , b , bm , self .col_name , 'ElapsedRaw' )
1372
1372
failures = failures_df .shape [0 ]
1373
1373
1374
- self .assertEqual (bm , qdb .util .time_model1 , msg = """Best time model
1375
- doesn't match""" )
1374
+ self .assertEqual (bm , qdb .util .time_model1 ,
1375
+ msg = f"""Best time model
1376
+ doesn't match
1377
+ Coefficients:{ k } { a } { b }
1378
+ { qdb .util .time_model1 } , "qdb.util.time_model1"
1379
+ { qdb .util .time_model2 } , "qdb.util.time_model2"
1380
+ { qdb .util .time_model3 } , "qdb.util.time_model3"
1381
+ { qdb .util .time_model4 } , "qdb.util.time_model4"
1382
+ """ )
1376
1383
self .assertEqual (failures , 1 , "Number of failures must be 1" )
1377
1384
1378
1385
def test_MaxRSS_helper (self ):
0 commit comments