code: def test_empty_tags_are_not_saved_in_text_notebooks(
      no_jupytext_version_number, python_notebook, fmt="py:percent"
  ):
      nb = python_notebook
      nb.cells.append(new_code_cell(metadata={"tags": []}))
      text = jupytext.writes(nb, fmt=fmt)
      assert "tags" not in text
      nb_text = jupytext.reads(text, fmt=fmt)
      nb2 = combine_inputs_with_outputs(nb_text, nb, fmt=fmt)
      assert nb2.cells[-1].metadata["tags"] == []
  
imports: import pytest
  from nbformat.v4.nbbase import new_code_cell, new_markdown_cell
  import jupytext
  from jupytext.cell_metadata import _IGNORE_CELL_METADATA, RMarkdownOptionParsingError, is_valid_metadata_key, metadata_to_rmd_options, metadata_to_text, parse_key_equal_value, parse_rmd_options, rmd_options_to_metadata, text_to_metadata, try_eval_metadata
  from jupytext.combine import combine_inputs_with_outputs
  from jupytext.compare import compare, compare_notebooks
  from jupytext.metadata_filter import filter_metadata
label_desc: Use image node_id 32 for calling a global function with example usage: test_empty_tags_are_not_saved_in_text_notebooks(no_jupytext_version_number, python_notebook, fmt) without return types