code: def test_stack_out_format(in_paths):
      """Test that output format matches input format."""
  
      # Test that the output file format is same as inputs
      # This can be flexible but for now forcing the same format
      out_fi = "test_stack.jp2"
      with pytest.raises(ValueError, match="Source"):
          stack_arr, stack_prof = es.stack(in_paths, out_path=out_fi)
  
file_path: earthpy/earthpy/tests/test_stack.py
imports: import os
  import numpy
  import pytest
  import earthpy.spatial
label_desc: Use image node_id 11 for calling a global function with example usage: test_stack_out_format(in_paths) without return types