code: def test_no_crash_on_square_bracket(
      script="""# %% In [2]
  print('Hello')
  """,
  ):
      nb = jupytext.reads(script, "py")
      script2 = jupytext.writes(nb, "py:percent")
      compare(script2, script)
  
imports: import os
  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, notebook_model
label_desc: Use image node_id 5 for calling a global function with example usage: test_no_crash_on_square_bracket(script) without return types