code: def test_combine_split():
      nb_source = new_notebook(
          cells=[new_code_cell("1+1"), new_code_cell("2+2")]
      )
  
      nb_outputs = new_notebook(cells=[new_code_cell("1+1\n2+2")])
  
      nb_outputs.cells[0].outputs = ["4"]
  
      nb_source = combine_inputs_with_outputs(nb_source, nb_outputs)
  
      assert nb_source.cells[0].outputs == []
      assert nb_source.cells[1].outputs == ["4"]
  
file_path: jupytext/tests/functional/others/test_combine.py
imports: from copy import deepcopy
  from nbformat.v4.nbbase import new_code_cell, new_markdown_cell, new_notebook
  import jupytext
  from jupytext.combine import combine_inputs_with_outputs
  from jupytext.compare import compare, compare_notebooks
label_desc: Use image node_id 5 for calling a global function with example usage: test_combine_split() without return types