Commit 0d36e37
BUG: Fix MultiBacktest with some no-trade results (#1366)
* fix: handle mixed no-trade MultiBacktest results
* Make class non-local and simplify assertions
Fixes CI error:
> AttributeError: Can't get local object 'TestLib.test_MultiBacktest_handles_mixed_no_trade_results.<locals>.SometimesNoTrade'
---------
Co-authored-by: Elpolini <contacto@elpolini.com>
Co-authored-by: kernc <kerncece@gmail.com>1 parent e6e0299 commit 0d36e37
2 files changed
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
611 | | - | |
| 611 | + | |
612 | 612 | | |
613 | 613 | | |
614 | 614 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1067 | 1067 | | |
1068 | 1068 | | |
1069 | 1069 | | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
1070 | 1089 | | |
1071 | 1090 | | |
1072 | 1091 | | |
| |||
0 commit comments