Missing a platform.system() check
parent
c993e36e95
commit
ad68ff665f
|
@ -239,10 +239,11 @@ def test_not_fast_enough_quad(
|
||||||
results, diff = time_quad_ex
|
results, diff = time_quad_ex
|
||||||
delay = max(diff - cancel_delay, 0)
|
delay = max(diff - cancel_delay, 0)
|
||||||
results = tractor.run(cancel_after, delay, arbiter_addr=arb_addr)
|
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
|
# In Windows CI it seems later runs are quicker then the first
|
||||||
# so just ignore these
|
# so just ignore these
|
||||||
print("Woa there windows caught your breath eh?")
|
print(f"Woa there {system} caught your breath eh?")
|
||||||
else:
|
else:
|
||||||
# should be cancelled mid-streaming
|
# should be cancelled mid-streaming
|
||||||
assert results is None
|
assert results is None
|
||||||
|
|
Loading…
Reference in New Issue