(self, size)
| 1737 | typecode = 'b' |
| 1738 | |
| 1739 | def example(self, size): |
| 1740 | # We assess a base memuse of <=2.125 for constructing this array |
| 1741 | base = array.array(self.typecode, [0, 1, 2, 3, 4, 5, 6, 7]) * (size // 8) |
| 1742 | base += array.array(self.typecode, [99]*(size % 8) + [8, 9, 10, 11]) |
| 1743 | return base |
| 1744 | |
| 1745 | @support.bigmemtest(_2G, memuse=2.125) |
| 1746 | def test_example_data(self, size): |
no outgoing calls
no test coverage detected