code: def visit_import(self, node):
          '''triggered when an import statement is seen'''
          module_filename = node.root().file
          if fnmatch.fnmatch(module_filename, '__init__.py*') and \
                  not fnmatch.fnmatch(module_filename, 'test_*.py*'):
              return
          modnode = node.root()
          names = [name for name, _ in node.names]
  
          for name in names:
              self._check_blacklisted_module(node, namef visit_import(self, node):
          '''triggered when an import statement is seen'''
          module_filename = node.root().file
          if fnmatch.fnmatch(module_filename, '__init__.py*') and \
                  not fnmatch.fnmatch(module_filename, 'test_*.py*'):
              return
          modnode = node.root()
          names = [name for name, _ in node.names]
  
          for name in names:
              self._check_blacklisted_module(node, name)
docs: triggered when an import statement is seen