code: def test_comment_bash_commands_in_python(magic_cmd):
      assert comment_magic([magic_cmd]) == ["# " + magic_cmd]
      assert uncomment_magic(["# " + magic_cmd]) == [magic_cmd]
  
imports: import pytest
  from nbformat.v4.nbbase import new_code_cell, new_notebook
  import jupytext
  from jupytext.compare import compare, compare_notebooks, notebook_model
  from jupytext.magics import _PYTHON_MAGIC_ASSIGN, comment_magic, is_magic, uncomment_magic, unesc
label_desc: Use image node_id 11 for calling a global function with example usage: test_comment_bash_commands_in_python(magic_cmd) without return types