(self)
| 405 | _testcapi.test_buildvalue_N() |
| 406 | |
| 407 | def test_trashcan_subclass(self): |
| 408 | # bpo-35983: Check that the trashcan mechanism for "list" is NOT |
| 409 | # activated when its tp_dealloc is being called by a subclass |
| 410 | from _testcapi import MyList |
| 411 | L = None |
| 412 | for i in range(100): |
| 413 | L = MyList((L,)) |
| 414 | |
| 415 | @support.requires_resource('cpu') |
| 416 | @support.skip_emscripten_stack_overflow() |