code: def test_LiteralIncludeReader_missing_start_and_end(literal_inc_path):
      options = {"start-at": "NOTHING"}
      reader = LiteralIncludeReader(
          literal_inc_path, options, DUMMY_CONFIG
      )
      with pytest.raises(
          ValueError, match="start-at pattern not found: NOTHING"
      ):
          reader.read()
  
      options = {"end-at": "NOTHING"}
      reader = LiteralIncludeReader(
          literal_inc_path, options, DUMMY_CONFIG
      )
      with pytest.raises(
          ValueError, match="end-at pattern not found: NOTHING"
      ):
          reader.read()
  
      options = {"start-after": "NOTHING"}
      reader = LiteralIncludeReader(
          literal_inc_path, options, DUMMY_CONFIG
      )
      with pytest.raises(
          ValueError, match="start-after pattern not found: NOTHING"
      ):
          reader.read()
  
      options = {"end-before": "NOTHING"}
      reader = LiteralIncludeReader(
          literal_inc_path, options, DUMMY_CONFIG
      )
      with pytest.raises(
          ValueError, match="end-before pattern not found: NOTHING"
      ):
          reader.read()
  
imports: import os.path
  import pytest
  from docutils import nodes
  from sphinx.config import Config
  from sphinx.directives.code import LiteralIncludeReader
  from sphinx.testing.util import etree_parse
label_desc: Use image node_id 18 for calling a global function with example usage: test_LiteralIncludeReader_missing_start_and_end(literal_inc_path) without return types