text: #!/usr/bin/env python3
  # -*- coding: utf-8 -*-
  #
  # michael a.g. aïvázis
  # orthologue
  # (c) 1998-2022 all rights reserved
  #
  
  
  """
  Verify that we can process an empty pml file
  """
  
  
  def test():
      # package access
      import pyre.config
      # get the codec manager
      m = pyre.config.newConfigurator()
      # ask for a pml codec
      reader = m.codec(encoding="cfg")
      # the configuration file
      uri = "sample-open.cfg"
      # open a stream
      sample = open(uri)
      # read the contents
      events = reader.decode(uri=uri, source=sample, locator=None)
      # check that we got a real instance back
      assert events == []
  
      return m, reader, events
  
  
  # main
  if __name__ == "__main__":
      # skip pyre initialization since we don't rely on the executive
      pyre_noboot = True
      # do...
      test()
  
  
  # end of file
  