def testAllowOne( self ):
      cvtType = cvt.Converter( cvt.toType, float )
      converter = cvt.toListOf

      l1 = [ "123" ]
      right = map( float, l1 )
             
      v = converter( l1[0], cvtType, allowOne=True )
      self.assertEqual( right, v, "Incorrect conversion of single item." )
      
   #-----------------------------------------------------------------------
Returns statistics for the given layer data:
dataset/ETHPy150Open nasa/mplStyle/mplStyle/types/convert/test/test_toListOf.py/TesttoListOf.testAllowOne--crossover with--dataset/ETHPy150Open NVIDIA/DIGITS/digits/model/tasks/caffe_train.py/CaffeTrainTask.get_layer_statistics