code: def test_notebook_from_plain_script_has_metadata_filter(
      script="""print('Hello world")
  """,
  ):
      nb = jupytext.reads(script, ".py")
      assert (
          nb.metadata.get("jupytext", {}).get(
              "notebook_metadata_filter"
          )
          == "-all"
      )
      assert (
          nb.metadata.get("jupytext", {}).get("cell_metadata_filter")
          == "-all"
      )
      script2 = jupytext.writes(nb, ".py")
  
      compare(script2, script)
  
file_path: jupytext/tests/unit/test_header.py
imports: from nbformat.v4.nbbase import new_markdown_cell, new_notebook, new_raw_cell
  import jupytext
  from jupytext.compare import compare
  from jupytext.formats import get_format_implementation
  from jupytext.header import header_to_metadata_and_cell, metadata_and_cell_to_header, uncomment_line
label_desc: Use image node_id 7 for calling a global function with example usage: test_notebook_from_plain_script_has_metadata_filter(script) without return types