tests: Use importlib.util.find_spec to check for bcc module
This fixes the unused variable warning.
find_spec
will return None if the module is not installed.
This fixes the unused variable warning.
find_spec
will return None if the module is not installed.