code: def pytest_generate_tests(metafunc):
      """Generate the tests for etree and lxml"""
      if etree._lxml_etree:
          metafunc.fixturenames.append("etreefx")
          metafunc.parametrize(
              "etreefx", ["lxml", "etree"], indirect=True
          )
  
      if not hasattr(sys, "pypy_version_info"):
          etree.to_lxml()
  
      if hasattr(sys, "pypy_version_info"):
          etree.to_etree()
  
      if "Chart" in metafunc.fixturenames:
          metafunc.parametrize("Chart", pygal.CHARTS)
      if "datas" in metafunc.fixturenames:
          metafunc.parametrize(
              "datas",
              [
                  [("Serie %d" % i, get_data(i)) for i in range(s)]
                  for s in (5, 1, 0)
              ],
          )
  
imports: import sys
  import pytest
  import pygal
  from pygal.etree import etree
  from .None import get_data
label_desc: Use image node_id 2 for calling a global function with example usage: pytest_generate_tests(metafunc) without return types