code: def test_results(
      self, text, keyword, ignore_case, window_width, pad_context, exp
  ):
      obs = list(
          extract.kwic.keyword_in_context(
              text,
              keyword,
              ignore_case=ignore_case,
              window_width=window_width,
              pad_context=pad_context,
          )
      )
      assert obs == exp
  
file_path: textacy/tests/extract/test_kwic.py
imports: import re
  import pytest
  import textacy
  from textacy import extract
label_desc: Use image node_id 4 for calling the TestKeywordInContext obj's underlying member method code with example usage: obj.test_results(text, keyword, ignore_case, window_width, pad_context, exp) without return types