Skip to content

Commit

Permalink
Fix escape sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
BowTiedDevil committed Sep 10, 2024
1 parent db4a8d3 commit def5889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/arbitrage/test_uniswap_curve_cycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def test_arb_calculation_pre_checks_v3(ethereum_archive_node_web3):
# Test with uninitialized pool (price=0)
with pytest.raises(
ZeroLiquidityError,
match=f"V3 pool {uniswap_v3_weth_usdc_lp.address} has no liquidity \(not initialized\)",
match=f"V3 pool {uniswap_v3_weth_usdc_lp.address} has no liquidity \\(not initialized\\)",
):
arb.calculate(
override_state=[
Expand All @@ -254,7 +254,7 @@ def test_arb_calculation_pre_checks_v3(ethereum_archive_node_web3):
# Test with uninitialized pool (empty tick_bitmap)
with pytest.raises(
ZeroLiquidityError,
match=f"V3 pool {uniswap_v3_weth_usdc_lp.address} has no liquidity \(empty bitmap\)",
match=f"V3 pool {uniswap_v3_weth_usdc_lp.address} has no liquidity \\(empty bitmap\\)",
):
arb.calculate(
override_state=[
Expand Down

0 comments on commit def5889

Please sign in to comment.