code: def test_decode_numpy_scalar_with_unknown_dtype():
      """If numpy_dtype is None, then the value is not decoded, just passed through."""
  
      MatrixSchema = Unischema(
          "TestSchema", [UnischemaField("scalar", None, ())]
      )
      row = {"scalar": [4, 2]}
      decoded_value = decode_row(row, MatrixSchema)["scalar"]
      assert decoded_value == [4, 2]
  
file_path: petastorm/petastorm/tests/test_decode_row.py
imports: from decimal import Decimal
  import numpy
  import pytest
  from pyspark.sql.types import DoubleType
  from petastorm.codecs import NdarrayCodec, ScalarCodec
  from petastorm.unischema import UnischemaField, Unischema
  from petastorm.utils import decode_row, DecodeFieldError
label_desc: Use image node_id 6 for calling a global function with example usage: test_decode_numpy_scalar_with_unknown_dtype() without return types