utils.TestServer.close(): unexpected keyword argument
See original GitHub issueIn pytest_sanic.utils.TestServer.close(), there is this code:
# Force close connections
coros = []
for conn in self.connections:
if hasattr(conn, "websocket") and conn.websocket:
> coros.append(conn.websocket.close_connection(after_handshake=False))
E TypeError: close_connection() got an unexpected keyword argument 'after_handshake'
As you can see from the E
error here, conn.websocket.close_connection() doesn’t expect an after_handshake arg.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Discord.py error: TypeError: __new__() got an unexpected ...
UPDATE I just found out that for some reason, it only works on my test server but not any other servers. Traceback (most...
Read more >Build error: unexpected keyword argument 'recursive' #40247
+ ext, recursive=True) TypeError: glob() got an unexpected keyword argument 'recursive' make[1]: *** [libnode.target.mk:13: !/
Read more >TypeError: __init__() got an unexpected keyword argument ...
Hi, I have followed the steps given in the chapter to set up mflix app. After completing all the procedure, the following error...
Read more >unexpected keyword argument 'package' from launch_testing
I am trying to use launch_testing to create integration tests for my ROS2 node. However, I keep getting the following error:
Read more >Telethon Documentation - Read the Docs
It will automatically start() the client, logging or ... The telethon.utils module has plenty of methods that make using the library a lot ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ok, fixed.
Yeah, but Sanic didn’t release the latest version to pypi. Anyway, I guess I can push a fix for both case.