-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pytest-timeout does not work correctly with python2.7 #22
Comments
Original comment by Alexander Petrov (Bitbucket: alvipet, ). I use: I run it all under virtualenv (15.1.0) Thanks |
Original comment by Floris Bruynooghe (Bitbucket: flub, GitHub: flub). Hi, Could you provide some more information please? What was the example you where running? What where you expecting to happen? From this traceback all I can see is that a timeout happended inside the time.sleep() call in your test, so I'm not sure what the problem is. It's entirely possible I've missed something obvious and crucial though, hence please provide some more info. Thanks |
Original comment by Alexander Petrov (Bitbucket: alvipet, ). Hi, Floris Forgot to say that the test was running on Windows 10. I tried the simple test in the same configuration.
Here is the output:
|
Original comment by Floris Bruynooghe (Bitbucket: flub, GitHub: flub). Hi, The first test is timing out and then execution is terminated. It looks to me as it's doing exactly what pytest-timeout is designed to do. You still didn't say what you expected to happen in your test case and why? I'm honestly not seeing the issue here. |
Original comment by Alexander Petrov (Bitbucket: alvipet, ). Hi,
|
Original comment by Floris Bruynooghe (Bitbucket: flub, GitHub: flub). Sure, that's correct. See https://bitbucket.org/pytest-dev/pytest-timeout/src/03c23b4e46254f87cb3bb642bf3d450a5c59e731/README?at=default&fileviewer=file-view-default#README-100 where this is described. |
Original report by Alexander Petrov (Bitbucket: alvipet, ).
Hi,
My bag is the same as https://bitbucket.org/pytest-dev/pytest-timeout/issues/21/timeout-does-not-seem-to-work-anymore-with
I have the next stack trace:
The text was updated successfully, but these errors were encountered: