code: def test_nonpositive_dims_raises_value_error():
      from lasagne.utils import create_param
  
      neg_shape = (-1, -1)
      zero_shape = (0, 0)
      pos_shape = (1, 1)
      spec = np.empty
      with pytest.raises(ValueError):
          create_param(spec, neg_shape)
      with pytest.raises(ValueError):
          create_param(spec, zero_shape)
      create_param(spec, pos_shape)
  
imports: from mock import Mock
  import pytest
  import numpy
  import theano
  import theano.tensor
label_desc: Use image node_id 26 for calling a global function with example usage: test_nonpositive_dims_raises_value_error() without return types