MCPcopy Index your code
hub / github.com/ipython/ipython / test_memory_error

Method test_memory_error

tests/test_async_helpers.py:415–420  ·  view source on GitHub ↗

The pgen parser in 3.8 or before use to raise MemoryError on too many nested parens anymore

(self)

Source from the content-addressed store, hash-verified

413 )
414
415 def test_memory_error(self):
416 """
417 The pgen parser in 3.8 or before use to raise MemoryError on too many
418 nested parens anymore"""
419
420 iprc("(" * 200 + ")" * 200)
421
422 @pytest.mark.xfail(reason="fail on curio 1.6 and before on Python 3.12")
423 @pytest.mark.skip(

Callers

nothing calls this directly

Calls 1

iprcFunction · 0.85

Tested by

no test coverage detected