Skip to content

Commit fd7272b

Browse files
committed
chore: fix unterminated string literal in test runner
1 parent 12adbeb commit fd7272b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/data/test_converter_orderflow.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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 (

0 commit comments

Comments
 (0)