@@ -70,6 +70,9 @@ def test_policy_trigger_all_missed(
7070) -> None :
7171 """Test the TriggerAllMissed policy."""
7272 hypothesis .assume (now >= scheduled_tick_time )
73+ # For some reason pylint think this is unreachable, not sure if hypothesis.assume()
74+ # is marked as no-return or something.
75+ # pylint: disable-next=unreachable
7376 assert (
7477 TriggerAllMissed ().calculate_next_tick_time (
7578 now = now , interval = interval , scheduled_tick_time = scheduled_tick_time
@@ -118,6 +121,9 @@ def test_policy_skip_missed_and_resync(
118121 """Test the SkipMissedAndResync policy."""
119122 hypothesis .assume (now >= scheduled_tick_time )
120123
124+ # For some reason pylint think this is unreachable, not sure if hypothesis.assume()
125+ # is marked as no-return or something.
126+ # pylint: disable-next=unreachable
121127 next_tick_time = SkipMissedAndResync ().calculate_next_tick_time (
122128 now = now , interval = interval , scheduled_tick_time = scheduled_tick_time
123129 )
@@ -214,6 +220,9 @@ def test_policy_skip_missed_and_drift(
214220 """Test the SkipMissedAndDrift policy."""
215221 hypothesis .assume (now >= scheduled_tick_time )
216222
223+ # For some reason pylint think this is unreachable, not sure if hypothesis.assume()
224+ # is marked as no-return or something.
225+ # pylint: disable-next=unreachable
217226 next_tick_time = SkipMissedAndDrift (
218227 delay_tolerance = timedelta (microseconds = tolerance )
219228 ).calculate_next_tick_time (
0 commit comments