def _unsuppress_core_files(self, old_limit):
            """Return core file behavior to default."""
            if old_limit is None:
                return
            try:
                import resource
                resource.setrlimit(resource.RLIMIT_CORE, old_limit)
            except (ImportError, __HOLE__, resource.error):
                return
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_subprocess.py/ProcessTestCase._unsuppress_core_files