code: def test_write_dataset_parquet_without_encryption():
      """Test write_dataset with ParquetFileFormat and test if an exception is thrown
      if you try to set encryption_config using make_write_options"""
  
      # Set the encryption configuration using ParquetFileFormat
      # and make_write_options
      pformat = pa.dataset.ParquetFileFormat()
  
      with pytest.raises(NotImplementedError):
          _ = pformat.make_write_options(encryption_config="some value")
  
file_path: arrow/python/pyarrow/tests/test_dataset_encryption.py
imports: from datetime import timedelta
  import pyarrow.fs
  import pyarrow
  import pytest
label_desc: Use image node_id 7 for calling a global function with example usage: test_write_dataset_parquet_without_encryption() without return types