Lines Matching refs:bytes
256 self.assertIsInstance(authkey, bytes)
266 sys.executable.encode(), # bytes
319 q.put(bytes(current.authkey))
4016 self.assertEqual(bytes(sms.buf[0:6]), b'pickle')
4017 self.assertEqual(bytes(sms2.buf[0:6]), b'pickle')
4021 self.assertEqual(bytes(sms.buf[0:6]), b'newval')
4022 self.assertEqual(bytes(sms2.buf[0:6]), b'newval')
4025 self.assertEqual(bytes(sms.buf[0:6]), b'oldval')
4026 self.assertEqual(bytes(sms2.buf[0:6]), b'oldval')
4057 self.assertEqual(bytes(sms.buf[:5]), b'howdy')
4067 self.assertEqual(bytes(sms.buf[:5]), b'HELLO')
4203 sl[0] = 'encodés' # Exactly 8 bytes of UTF-8 data
4208 sl[0] = 'encodées' # Exactly 9 bytes of UTF-8 data
5149 # Sending CONN_MAX_SIZE bytes into a multiprocessing pipe must block