(self)
| 193 | self.assertIsInstance(b, bytes) |
| 194 | |
| 195 | def test_tolist(self): |
| 196 | for tp in self._types: |
| 197 | m = self._view(tp(self._source)) |
| 198 | l = m.tolist() |
| 199 | self.assertEqual(l, list(b"abcdef")) |
| 200 | |
| 201 | def test_compare(self): |
| 202 | # memoryviews can compare for equality with other objects |
nothing calls this directly
no test coverage detected