diff --git a/tests/test_timer.py b/tests/test_timer.py index 176b98b6..43b2634e 100644 --- a/tests/test_timer.py +++ b/tests/test_timer.py @@ -59,8 +59,10 @@ def _assert_tick_is_aligned( # https://github.com/frequenz-floss/frequenz-channels-python/issues/405 +@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning") +@pytest.mark.filterwarnings("ignore::ResourceWarning") @pytest.mark.filterwarnings( - r"default:Exception ignored in. None: ) +# https://github.com/frequenz-floss/frequenz-channels-python/issues/405 +@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning") +@pytest.mark.filterwarnings("ignore::ResourceWarning") +@pytest.mark.filterwarnings( + "ignore:Exception ignored in.* None: ) +# https://github.com/frequenz-floss/frequenz-channels-python/issues/405 +@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning") +@pytest.mark.filterwarnings("ignore::ResourceWarning") +@pytest.mark.filterwarnings( + "ignore:Exception ignored in.* Non SkipMissedAndDrift(delay_tolerance=timedelta(microseconds=tolerance)) +# https://github.com/frequenz-floss/frequenz-channels-python/issues/405 +@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning") +@pytest.mark.filterwarnings("ignore::ResourceWarning") +@pytest.mark.filterwarnings( + "ignore:Exception ignored in.*