code: def test_normalize_or_die_for_numpy_arrays(typename):
      np = opt.np
      dtype = getattr(np, typename)
      a = np.array([0, 1, 2], dtype=dtype)
      b = normalize_or_die(a)
      assert len(b) == 3
  
imports: import pytest
  from sacred import optional
  from sacred.config.utils import normalize_or_die
label_desc: Use image node_id 2 for calling a global function with example usage: test_normalize_or_die_for_numpy_arrays(typename) without return types