Lines Matching defs:test
34 from test.test_asyncio import utils as test_utils
35 from test import support
36 from test.support import socket_helper
37 from test.support import threading_helper
38 from test.support import ALWAYS_EQ, LARGEST, SMALLEST
567 # test SSL cipher
575 # test SSL object
741 message = b'test data'
936 f = self.loop.create_unix_server(lambda: proto, '/test', sock=sock)
1399 # This test reproduces the issue #314 on GitHub
1745 async def test():
1749 coro = test()
1771 # run_in_executor test is tricky: the method is a coroutine,
1953 stdin.write(b'test')
1958 self.assertEqual(b'OUT:test', proto.data[1])
1959 self.assertTrue(proto.data[2].startswith(b'ERR:test'), proto.data[2])
1978 stdin.write(b'test')
1980 self.assertTrue(proto.data[1].startswith(b'OUT:testERR:test'),
2000 stdin.write(b'test')
2002 self.assertEqual(b'OUT:test', proto.data[1])
2124 'test hangs on OpenBSD')