code: def test_unconfigured_argparser():
      args = argparse.ArgumentParser().parse_args([])
      with pytest.raises(
          RuntimeError, match="add_configure_spark_arguments"
      ):
          configure_spark(SparkSession.builder, args)
  
file_path: petastorm/petastorm/tests/test_spark_session_cli.py
imports: import argparse
  import pytest
  from pyspark.sql import SparkSession
  from petastorm.tools.spark_session_cli import add_configure_spark_arguments, configure_spark
label_desc: Use image node_id 5 for calling a global function with example usage: test_unconfigured_argparser() without return types