- An import in a function defined under try/except ImportError is checked: the function runs when called, after the handler is gone.
- A try whose ImportError handler re-raises is not a guard, since the missing module still fails the import.
- Tests pin what stays checked: the handler, else, finally, a broader except, a plain if.
Co-authored-by: BearHuddleston <BearHuddleston@users.noreply.github.com>