code: def test_choice_property_exceptions(self):
      with self.assertRaises(ValueError):
  
          class A(Configurable):
              choice = ChoiceProperty(choices="test")
  
      with self.assertRaises(ValueError):
  
          class B(Configurable):
              choice = ChoiceProperty(choices=[])
  
imports: from collections import namedtuple
  import numpy
  from neupy.core.config import Configurable
  from neupy.core.properties import Property, ArrayProperty, TypedListProperty, BoundedProperty, ProperFractionProperty, NumberProperty, IntProperty, ChoiceProperty, WithdrawProperty
  from base import BaseTestCase
label_desc: Use image node_id 4 for calling the ChoicesPropertiesTestCase obj's underlying member method code with example usage: obj.test_choice_property_exceptions() without return types