code: def test_empty_doc(empty_spacy_doc):
      result = kt.sgrank(empty_spacy_doc)
      assert isinstance(result, list)
      assert len(result) == 0
  
file_path: textacy/tests/extract/keyterms/test_sgrank.py
imports: import pytest
  import textacy
  from textacy.extract import keyterms
label_desc: Use image node_id 11 for calling a global function with example usage: test_empty_doc(empty_spacy_doc) without return types