-
Notifications
You must be signed in to change notification settings - Fork 35
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
wait_for and run_in_reactor swallow exceptions #75
Comments
I've never tested crochet on OS X... what does running the test suite tell you? |
Tests pass skipping |
That message could be better, I guess, but that's expected output. |
OK, first problem with this example code is that you're calling |
Once I switch Also note that methods decorated with |
If you change |
Yes and no: if I do that, I’ll get a fat traceback that reactor is already running. If I do neither, I get:
|
How are you running tests - what command line? What version of |
Somewhat seems to be related to what I'm seeing. I'm actually trying to run tests in trial that test code which is decorated by wait_for. Without any setup I get the error pasted by @hynek on the 11th Feb. With
If I use
Going to continue playing.. |
I suggest not using |
Actually @itamarst I totally misread the doc about wrapped_function - that's working as expected with But, duly noted about not using the async test case.. thanks :) |
Consider the following code:
The output of running it with trial on Python 2.7.8 (OS X) is as following:
The output is the same on pypy.
I hope this is helpful.
The text was updated successfully, but these errors were encountered: