code: def test_magic_assign_816():
      assert _PYTHON_MAGIC_ASSIGN.match(
          "flake8_version = !flake8 --version"
      )
      assert _PYTHON_MAGIC_ASSIGN.match(
          "# flake8_version = !flake8 --version"
      )
      assert _PYTHON_MAGIC_ASSIGN.match("name = %time 2+2")
      assert _PYTHON_MAGIC_ASSIGN.match("# name = %time 2+2")
  
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 20 for calling a global function with example usage: test_magic_assign_816() without return types