Lines Matching defs:test
12 from test.support import socket_helper
19 from test.test_asyncio import utils as test_utils
623 # test the server variant with a coroutine as client handler
630 # test the server variant with a callback as client handler
689 # test the server variant with a coroutine as client handler
698 # test the server variant with a callback as client handler
774 # See asyncio issue 168. This test is derived from the example
819 async def test():
822 reader = self.loop.run_until_complete(test())
844 async def test():
846 protocol = self.loop.run_until_complete(test())
881 # This test should not use asyncio for the mock server; the
882 # whole point of the test is to test for a bug in drain()