()
| 663 | @requires_specialization |
| 664 | def test_binary_subscr_getitem(self): |
| 665 | def get_items(): |
| 666 | class C: |
| 667 | __getitem__ = lambda self, item: None |
| 668 | |
| 669 | items = [] |
| 670 | for _ in range(self.ITEMS): |
| 671 | item = C() |
| 672 | items.append(item) |
| 673 | return items |
| 674 | |
| 675 | def read(items): |
| 676 | for item in items: |