code: def test_dataset_url_must_be_string(reader_factory):
      with pytest.raises(ValueError):
          reader_factory(None)
  
      with pytest.raises(ValueError):
          reader_factory(123)
  
      with pytest.raises(ValueError):
          reader_factory([])
  
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 1 for calling a global function with example usage: test_dataset_url_must_be_string(reader_factory) without return types