◐ Shell
clean mode source ↗

Message 293704 - Python tracker

>> I looked at this function, but I don't want to skip the test if the module cannot be imported.
>
> You can pass required_on=('',).

('',) looks mysterious to me. I prefer my current code.

If you consider that an helper is required, I would prefer a more explicit option on import_module(), like always_raise=True or something like that?