Skip to content

Commit a19872d

Browse files
committed
chore: clean up running event loops after test
1 parent ee63e51 commit a19872d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/exchange/test_binance.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,3 +1053,6 @@ async def mock_get_trade_hist(pair, *args, **kwargs):
10531053

10541054
assert fetch_trades_cal[2][1]["params"][pagination_arg] != "0"
10551055
assert fetch_trades_cal[3][1]["params"][pagination_arg] != "0"
1056+
1057+
# Clean up event loop to avoid warnings
1058+
exchange.close()

0 commit comments

Comments
 (0)