Utsav13

Results 2 comments of Utsav13

you should try this code for same: Code : ``` import time from func_timeout import func_set_timeout , FunctionTimedOut @func_set_timeout(3) def test(): while True: time.sleep(1) print("test") try: test() except FunctionTimedOut: print("end...

okay, previously I tested code with python 3.6 and it works fine. but when I have tested it with python 2.7 then I got the same error which u have...