def clean_up(self) -> Iterator[None]:
        """These tests all run in-process. Clean up global changes."""
        yield
        sys.excepthook = sys.__excepthook__
These tests all run in-process. Clean up global changes.
tests/test_execfile.py