(self)
| 233 | return typecodes[(typecodes.index(self.typecode)+1) % len(typecodes)] |
| 234 | |
| 235 | def test_constructor(self): |
| 236 | a = array.array(self.typecode) |
| 237 | self.assertEqual(a.typecode, self.typecode) |
| 238 | self.assertGreaterEqual(a.itemsize, self.minitemsize) |
| 239 | self.assertRaises(TypeError, array.array, self.typecode, None) |
| 240 | |
| 241 | def test_len(self): |
| 242 | a = array.array(self.typecode) |
no test coverage detected