(self)
| 259 | """ |
| 260 | class MemoryErrorTest(unittest.TestCase): |
| 261 | def test_memoryerror(self): |
| 262 | memoryerror_code = "(" * 200 + ")" * 200 |
| 263 | with tt.AssertPrints("MemoryError"): |
| 264 | ip.run_cell(memoryerror_code) |
| 265 | |
| 266 | |
| 267 | class Python3ChainedExceptionsTest(unittest.TestCase): |