Fix: use pass over ...(Ellipse)

Use `...`(Ellipse) only in abstract methods.
This commit is contained in:
mhchia
2020-02-05 20:36:42 +08:00
parent 1fff6ad6b4
commit ba0fb8a833
4 changed files with 6 additions and 6 deletions

View File

@ -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