(self)
| 145 | """ |
| 146 | |
| 147 | def test_nested_genexpr(self): |
| 148 | code = dedent( |
| 149 | """\ |
| 150 | class SpecificException(Exception): |
| 151 | pass |
| 152 | |
| 153 | def foo_8293(x): |
| 154 | raise SpecificException("Success!") |
| 155 | |
| 156 | sum(sum(foo_8293(x) for _ in [0]) for x in [0]) |
| 157 | """ |
| 158 | ) |
| 159 | with tt.AssertPrints("SpecificException: Success!", suppress=False): |
| 160 | ip.run_cell(code) |
| 161 | |
| 162 | |
| 163 | indentationerror_file = """if True: |