diff --git a/tests/test_streaming.py b/tests/test_streaming.py index 531352a..8d06478 100644 --- a/tests/test_streaming.py +++ b/tests/test_streaming.py @@ -239,10 +239,11 @@ def test_not_fast_enough_quad( results, diff = time_quad_ex delay = max(diff - cancel_delay, 0) results = tractor.run(cancel_after, delay, arbiter_addr=arb_addr) - if platform.system() == 'Windows' and results is not None: + system = platform.system() + if system in ('Windows', 'Darwin') and results is not None: # In Windows CI it seems later runs are quicker then the first # so just ignore these - print("Woa there windows caught your breath eh?") + print(f"Woa there {system} caught your breath eh?") else: # should be cancelled mid-streaming assert results is None