Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/test_uniswap.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ def test_get_price_input(self, client: Uniswap, tokens, token0, token1, qty):
],
)
def test_get_price_output(self, client: Uniswap, tokens, token0, token1, qty):
if client.version == 1 and "UNI" in (token0, token1):
pytest.xfail("Uniswap v1 UNI exchange has no liquidity — InvalidJump")
token0, token1 = tokens[token0], tokens[token1]
if client.version == 1 and ETH_ADDRESS not in [token0, token1]:
pytest.skip("Not supported in this version of Uniswap")
Expand Down
Loading