test_asyncio/test_sendfile.py now resets the event loop policy using
tearDownModule() as done in other tests, to prevent a warning when
running tests on Windows.
ssl = None
+def tearDownModule():
+ asyncio.set_event_loop_policy(None)
+
+
class MySendfileProto(asyncio.Protocol):
def __init__(self, loop=None, close_after=0):
--- /dev/null
+``test_asyncio/test_sendfile.py`` now resets the event loop policy using
+:func:`tearDownModule` as done in other tests, to prevent a warning when
+running tests on Windows.