code: def test_invalid_reader_pool_type(synthetic_dataset, reader_factory):
      with pytest.raises(ValueError, match="Unknown reader_pool_type"):
          reader_factory(
              synthetic_dataset.url, reader_pool_type="bogus_pool_type"
          )
  
file_path: petastorm/petastorm/tests/test_reader.py
imports: from time import sleep
  import pyarrow.parquet
  import pytest
  from petastorm import make_reader
  from petastorm.reader import Reader
label_desc: Use image node_id 7 for calling a global function with example usage: test_invalid_reader_pool_type(synthetic_dataset, reader_factory) without return types