code: def generic_test_package(self, mod):
      # disable logging during doctest
      log.logging.getLogger("pythran").setLevel(log.logging.ERROR)
  
      failed, _ = doctest.testmod(mod)
      self.assertEqual(failed, 0)
  
file_path: pythran/pythran/tests/test_xdoc.py
imports: import doctest
  import inspect
  import os
  import pytest
  import sys
  import unittest
  import pythran
  from pythran import transformations, analyses, optimizations, types, log
label_desc: Use image node_id 1 for calling a global function with example usage: generic_test_package(mod) without return types