diff --git a/tests/spot/test_spot_trade.py b/tests/spot/test_spot_trade.py index 0ca207f..8309f3c 100644 --- a/tests/spot/test_spot_trade.py +++ b/tests/spot/test_spot_trade.py @@ -363,7 +363,7 @@ def test_truncate_fail_volume_ordermin(self: Self, spot_trade: Trade) -> None: """ with pytest.raises( ValueError, - match=r"Volume is less than the ordermin: 0.00005!", + match=r"Volume is less than the ordermin:.*", ): spot_trade.truncate(amount=0.0000001, amount_type="volume", pair="XBTUSD")