mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-32418: Postfix, raise NotImplementdError and close resources in tests (#5052)
This commit is contained in:
parent
1634fc289a
commit
ffcb4c0165
2 changed files with 22 additions and 5 deletions
|
@ -149,15 +149,15 @@ class AbstractServer:
|
|||
|
||||
def close(self):
|
||||
"""Stop serving. This leaves existing connections open."""
|
||||
return NotImplemented
|
||||
raise NotImplementedError
|
||||
|
||||
async def wait_closed(self):
|
||||
"""Coroutine to wait until service is closed."""
|
||||
return NotImplemented
|
||||
raise NotImplementedError
|
||||
|
||||
def get_loop(self):
|
||||
""" Get the event loop the Server object is attached to."""
|
||||
return NotImplemented
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
class AbstractEventLoop:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue