code: def test_ssurgeon_same_length():
      semgrex_pattern = "{}=source >nsubj {} >csubj=bad {}"
      ssurgeon_edits = ["relabelNamedEdge -edge bad -reln advcl"]
  
      doc = CoNLL.conll2doc(input_str=SAMPLE_DOC_INPUT)
  
      ssurgeon_response = ssurgeon.process_doc_one_operation(
          doc, semgrex_pattern, ssurgeon_edits
      )
      updated_doc = ssurgeon.convert_response_to_doc(
          doc, ssurgeon_response
      )
  
      result = "{:C}".format(updated_doc)
      # print(result)
      # print(SAMPLE_DOC_EXPECTED)
      compare_ignoring_whitespace(result, SAMPLE_DOC_EXPECTED)
  
file_path: stanza/stanza/tests/server/test_ssurgeon.py
imports: import pytest
  from stanza.tests import compare_ignoring_whitespace
  from stanza.utils.conll import CoNLL
  import stanza.server.ssurgeon
label_desc: Use image node_id 1 for calling a global function with example usage: test_ssurgeon_same_length() without return types