code: def test_bad_regex(synthetic_dataset):
      with pytest.raises(ValueError, match="do not match any fields"):
          copy_dataset(
              None,
              synthetic_dataset.url,
              "",
              ["bogus_name"],
              [],
              False,
              1,
              196,
          )
  
file_path: petastorm/petastorm/tests/test_copy_dataset.py
imports: import glob
  import os
  import numpy
  import pytest
  from pyspark.sql import SparkSession
  from pyspark.sql.utils import AnalysisException
  from petastorm.reader import make_reader
  from petastorm.tools.copy_dataset import _main, copy_dataset
label_desc: Use image node_id 5 for calling a global function with example usage: test_bad_regex(synthetic_dataset) without return types