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
fix!: WebSocketApp.run_forever()
returning None
after close()
is called
#788
fix!: WebSocketApp.run_forever()
returning None
after close()
is called
#788
Conversation
…s called BREAKING CHANGE: the return value of `WebSocketApp.run_forever()` will no longer return the (undocumented) `None` value.
The CI output shows this breaks two tests in websocket/tests/test_websocket.py: the |
…h `wss://api.bitfinex.com/ws/2` in several tests
@engn33r it looks like |
In passing, I spotted that |
I added two new test cases to cover the graceful and exceptional shutdown of |
Codecov Report
@@ Coverage Diff @@
## master #788 +/- ##
==========================================
+ Coverage 84.45% 84.54% +0.08%
==========================================
Files 13 13
Lines 1293 1294 +1
Branches 275 275
==========================================
+ Hits 1092 1094 +2
+ Misses 129 128 -1
Partials 72 72
Continue to review full report at Codecov.
|
Thanks for the PR, and for fixing the broken WebSocket endpoint URLs! |
Closes #785
BREAKING CHANGE: the return value of
WebSocketApp.run_forever()
will no longer return the (undocumented)None
value.