Lines Matching refs:memoryview
77 self.assertRaises(TypeError, setitem, memoryview(b"a"))
283 return memoryview(obj)
292 m = memoryview(obj)
300 m = memoryview(tp(self._source))
309 m = memoryview(obj)
324 self.assertTrue(memoryview(ob))
325 self.assertTrue(memoryview(object=ob))
326 self.assertRaises(TypeError, memoryview)
327 self.assertRaises(TypeError, memoryview, ob, ob)
328 self.assertRaises(TypeError, memoryview, argument=ob)
329 self.assertRaises(TypeError, memoryview, ob, argument=True)
362 m = memoryview(b'abc')
369 m = memoryview(b'abc')