mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Fix: use pass over ...(Ellipse)
Use `...`(Ellipse) only in abstract methods.
This commit is contained in:
@ -13,7 +13,7 @@ async def test_tcp_listener(nursery):
|
||||
transport = TCP()
|
||||
|
||||
async def handler(tcp_stream):
|
||||
...
|
||||
pass
|
||||
|
||||
listener = transport.create_listener(handler)
|
||||
assert len(listener.get_addrs()) == 0
|
||||
|
||||
Reference in New Issue
Block a user