Skip to content

Commit 6368b61

Browse files
committed
Filter a warning we can't get rid of
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent c64ac70 commit 6368b61

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_timer.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ def _assert_tick_is_aligned(
5858
assert (next_tick_time - scheduled_tick_time) % interval == pytest.approx(0.0)
5959

6060

61+
# https://github.com/frequenz-floss/frequenz-channels-python/issues/405
62+
@pytest.mark.filterwarnings(
63+
r"ignore:Exception ignored in. <socket\.socket.*:pytest.PytestUnraisableExceptionWarning"
64+
)
6165
@hypothesis.given(**_calculate_next_tick_time_args)
6266
def test_policy_trigger_all_missed(
6367
now: int, scheduled_tick_time: int, interval: int

0 commit comments

Comments
 (0)