| 1116 | |
| 1117 | # pass through errors raised in __iter__ |
| 1118 | class A: |
| 1119 | def __iter__(self): |
| 1120 | raise UnicodeError |
| 1121 | self.assertRaises(UnicodeError, array.array, self.typecode, A()) |
| 1122 | |
| 1123 | # pass through errors raised in next() |
no outgoing calls