code: def test_active_tag(
      text="""# + tags=["active-py"]
  interpreter = 'python'
  
  # + tags=["active-ipynb"]
  # interpreter = 'ipython'
  """,
      ref=new_notebook(
          cells=[
              new_raw_cell(
                  "interpreter = 'python'",
                  metadata={"tags": ["active-py"]},
              ),
              new_code_cell(
                  "interpreter = 'ipython'",
                  metadata={"tags": ["active-ipynb"]},
              ),
          ]
      ),
  ):
      nb = jupytext.reads(text, "py")
      compare_notebooks(nb, ref)
      py = jupytext.writes(nb, "py")
      compare(py, text)
  
imports: import pytest
  from nbformat.v4.nbbase import new_code_cell, new_markdown_cell, new_notebook, new_raw_cell
  import jupytext
  from jupytext.compare import compare, compare_notebooks
label_desc: Use image node_id 43 for calling a global function with example usage: test_active_tag(text, ref) without return types