MCPcopy Create free account
hub / github.com/ipython/ipython / test_memoryerror

Method test_memoryerror

IPython/core/tests/test_ultratb.py:261–264  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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
267class Python3ChainedExceptionsTest(unittest.TestCase):

Callers

nothing calls this directly

Calls 1

run_cellMethod · 0.45

Tested by

no test coverage detected