A context manager that disables the garbage collector on entry. On exit, the garbage collector is restored to its prior state.
test.support/disable_gc
disable_gc