code: def test_location_method_without_null_words():
      summarizer = EdmundsonSummarizer()
  
      with pytest.raises(ValueError):
          summarizer.location_method(build_document(), 10)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import pytest
  from sumy._compat import to_unicode
  from sumy.summarizers.edmundson import EdmundsonSummarizer
  from ..utils import build_document, build_document_from_string
label_desc: Use image node_id 27 for calling a global function with example usage: test_location_method_without_null_words() without return types