def test_profile_builtin_exception(self):
        import math

        with tracebin.record(profile=True) as recorder:
            try:
                math.sqrt("a")
            except __HOLE__:
                pass

        [_, call, _] = recorder.calls

        assert call.func_name == "sqrt"
        assert call.subcalls == []
dataset/ETHPy150Open alex/tracebin/client/tests/test_hook.py/TestHook.test_profile_builtin_exception