Skip to content

Commit 90e85a2

Browse files
committed
Ignore warnings in problematic tests
These warnings should be eventually fixed, as there are real problems with these tests, but we don't want to block the repo-config update with this. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 6ecc2bc commit 90e85a2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/test_client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ async def test_stream_gridpool_orders_with_optional_inputs(set_up: SetupParams)
157157
]
158158

159159

160+
@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning")
160161
async def test_stream_gridpool_trades(
161162
set_up: SetupParams,
162163
) -> None:
@@ -189,6 +190,7 @@ async def test_receive_public_trades(
189190
]
190191

191192

193+
@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning")
192194
def test_create_gridpool_order(
193195
set_up: SetupParams,
194196
) -> None:
@@ -389,6 +391,7 @@ async def test_list_gridpool_orders(
389391
),
390392
],
391393
)
394+
@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning")
392395
def test_create_gridpool_order_with_invalid_params(
393396
# pylint: disable=too-many-arguments, too-many-positional-arguments
394397
set_up: SetupParams,

tests/test_types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ def test_order_from_pb() -> None:
462462
)
463463

464464

465+
@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning")
465466
def test_trade_to_pb() -> None:
466467
"""Test the client trade type conversions to protobuf."""
467468
assert_conversion_to_pb(

0 commit comments

Comments
 (0)