Skip to content

Commit

Permalink
chore: clean up running event loops after test
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Jan 6, 2025
1 parent ee63e51 commit a19872d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/exchange/test_binance.py
Original file line number Diff line number Diff line change
Expand Up @@ -1053,3 +1053,6 @@ async def mock_get_trade_hist(pair, *args, **kwargs):

assert fetch_trades_cal[2][1]["params"][pagination_arg] != "0"
assert fetch_trades_cal[3][1]["params"][pagination_arg] != "0"

# Clean up event loop to avoid warnings
exchange.close()

0 comments on commit a19872d

Please sign in to comment.