I'm guessing the decorator is using method='thread', which is the default and 
aborts the process when timeout occurs.

Can you see if your env supports method='signal' and if this resolves the issue?

@pytest.mark.timeout(method='signal')

Reference guide for supported options is here:
https://pypi.python.org/pypi/pytest-timeout

-Rohit

> On Aug 20, 2016, at 3:37 PM, Michelle Meiduo Wu <[email protected]> wrote:
> 
> Hi there,
> 
> 
> I'd like to use @pytest. mark.timeout  in pytest test in Windows. But if one 
> of test cases is timeout, then the following test cases will stop.
> 
> 
> Is there anybody know how to continue to run the following test cases  if a 
> test case is timeout?
> 
> 
> Thank you in advance.
> 
> 
> Michelle
> _______________________________________________
> Tutor maillist  -  [email protected]
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to