code: def test_utf8_out_331(capsys, caplog):
      py = "from IPython.core.display import HTML; HTML(u'\xd7')"
  
      with mock.patch("sys.stdin", StringIO(py)):
          jupytext(["--to", "ipynb", "--execute", "-"])
  
      out, err = capsys.readouterr()
  
      assert err == ""
      nb = reads(out, "ipynb")
      assert len(nb.cells) == 1
      print(nb.cells[0].outputs)
      assert nb.cells[0].outputs[0]["data"]["text/html"] == "\xd7"
  
file_path: jupytext/tests/integration/cli/test_execute.py
imports: import shutil
  from io import StringIO
  from unittest import mock
  import pytest
  from jupytext import read, reads
  from jupytext.cli import jupytext
  from jupytext.version import __version__
label_desc: Use image node_id 12 for calling a global function with example usage: test_utf8_out_331(capsys, caplog) without return types