code: def test_exception_not_consecutively_labelled(self):
      label = [[1, 4, 8], [1, 3, 10], [1, 3, 10]]
      for bt in self.BOUNDARY_TERMS_1ARG:
          assert_raises(AttributeError, bt, None, label, (None,))
      for bt in self.BOUNDARY_TERMS_2ARG:
          assert_raises(AttributeError, bt, None, label, (None, None))
  
imports: import sys
  import math
  import unittest
  import scipy
  import numpy
  from numpy.testing import assert_raises
  from medpy.graphcut.energy_label import boundary_stawiaski, boundary_difference_of_means, boundary_stawiaski_directed, regional_atlas
  from medpy.graphcut.graph import GCGraph
label_desc: Use image node_id 4 for calling the TestEnergyLabel obj's underlying member method code with example usage: obj.test_exception_not_consecutively_labelled() without return types