code: def test_throws_on_non_1D_arrays(self):
      X = np.zeros((2, 2), dtype=np.float32)
      with self.assertRaisesRegexp(RuntimeError, "X\.ndim\(\) == 1"):
          self._run_zero_even_op(X)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import numpy
  import unittest
  from caffe2.proto import caffe2_pb2
  from caffe2.python import core
  from caffe2.python import workspace
  import detectron.utils.c2
label_desc: Use image node_id 3 for calling the ZeroEvenOpTest obj's underlying member method code with example usage: obj.test_throws_on_non_1D_arrays() without return types