Lines Matching refs:memoryview
529 self.assertRaises(TypeError, getargs_c, memoryview('a'))
540 self.assertRaises(TypeError, getargs_w, memoryview('bytes'), 3)
542 memoryview(bytearray('bytes')), 3)
554 self.assertRaises(TypeError, getargs_w_hash, memoryview('bytes'))
556 memoryview(bytearray('bytes')))
568 self.assertRaises(TypeError, getargs_w_star, memoryview('bytes'))
573 self.assertEqual(getargs_w_star(memoryview(buf)), '[emoryvie]')
590 self.assertRaises(TypeError, getargs_s, memoryview('memoryview'))
602 self.assertEqual(getargs_s_star(memoryview('abc\xe9')), 'abc\xe9')
616 self.assertRaises(TypeError, getargs_s_hash, memoryview('memoryview'))
630 self.assertRaises(TypeError, getargs_t_hash, memoryview('memoryview'))
643 self.assertRaises(TypeError, getargs_z, memoryview('memoryview'))
655 self.assertEqual(getargs_z_star(memoryview('abc\xe9')), 'abc\xe9')
669 self.assertRaises(TypeError, getargs_z_hash, memoryview('memoryview'))
690 memoryview('memoryview'), 'latin1')
710 memoryview('memoryview'), 'latin1')
728 memoryview('memoryview'), 'latin1')
760 memoryview('memoryview'), 'latin1')
786 self.assertRaises(TypeError, getargs_u, memoryview('memoryview'))
797 self.assertRaises(TypeError, getargs_u_hash, memoryview('memoryview'))
812 self.assertRaises(TypeError, getargs_S, memoryview(obj))
823 self.assertRaises(TypeError, getargs_Y, memoryview(obj))
834 self.assertRaises(TypeError, getargs_U, memoryview(obj))