def _possibly_invalidate_import_caches(self):
        # invalidate caches if we can (py33 and above)
        try:
            import importlib
        except __HOLE__:
            pass
        else:
            if hasattr(importlib, "invalidate_caches"):
                importlib.invalidate_caches()
dataset/ETHPy150Open pytest-dev/pytest/_pytest/pytester.py/Testdir._possibly_invalidate_import_caches