Skip to content

Commit

Permalink
Catch more specific exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
BowTiedDevil committed Feb 18, 2025
1 parent 1f94382 commit 8a1d61e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/arbitrage/test_uniswap_lp_cycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -2279,10 +2279,10 @@ async def test_pickle_uniswap_lp_cycle_with_camelot_pool(fork_arbitrum: AnvilFor
]

for task in asyncio.as_completed(_tasks):
with contextlib.suppress(ArbitrageError):
with contextlib.suppress(RateOfExchangeBelowMinimum):
await task

with contextlib.suppress(ArbitrageError):
with contextlib.suppress(RateOfExchangeBelowMinimum):
arb.calculate()


Expand Down

0 comments on commit 8a1d61e

Please sign in to comment.