File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -535,8 +535,7 @@ def test_analyze_with_orderflow(
535535 assert col in df1 .columns , f"Column { col } not found in df.columns"
536536
537537 if col not in ("stacked_imbalances_bid" , "stacked_imbalances_ask" ):
538- assert df1 [col ].count () == 5 , f"Column { col } has {
539- df1 [col ].count ()} non-NaN values"
538+ assert df1 [col ].count () == 5 , f"Column { col } has { df1 [col ].count ()} non-NaN values"
540539
541540 assert len (strategy ._cached_grouped_trades_per_pair [pair ]) == 5
542541
@@ -554,8 +553,7 @@ def test_analyze_with_orderflow(
554553 assert "open" in df2 .columns
555554 assert spy .call_count == 0
556555 for col in ORDERFLOW_ADDED_COLUMNS :
557- assert col in df2 .columns , f"Round2: Column {
558- col } not found in df.columns"
556+ assert col in df2 .columns , f"Round2: Column { col } not found in df.columns"
559557
560558 if col not in ("stacked_imbalances_bid" , "stacked_imbalances_ask" ):
561559 assert (
You can’t perform that action at this time.
0 commit comments