Home | History | Annotate | Download | only in test

Lines Matching refs:memoryview

416         self.assertEqual(memoryview
428 self.assertEqual(dot_join([memoryview(b"ab"), b"cd"]), b"ab.:cd")
429 self.assertEqual(dot_join([b"ab", memoryview(b"cd")]), b"ab.:cd")
442 dot_join([memoryview(b"ab"), "cd", b"ef"])
690 self.assertEqual(self.type2test(b'abc').strip(memoryview(b'ac')), b'b')
691 self.assertEqual(self.type2test(b'abc').lstrip(memoryview(b'ac')), b'bc')
692 self.assertEqual(self.type2test(b'abc').rstrip(memoryview(b'ac')), b'ab')
1200 b[:3] = memoryview(b'foo')
1455 v = memoryview(b)
1597 buf = memoryview(sample)
1624 self.assertEqual(b'a b'.split(memoryview(b' ')), [b'a', b'b'])
1627 self.assertEqual(b'a b'.rsplit(memoryview(b' ')), [b'a', b'b'])