Exemple #1
0
 def test_values(self):
     
     for i in self.values:
         
         if len(i) == 1:
             check_type = numpy.ndarray 
         else:
             check_type = i[1]  
             DEBUG.verbose("Error is intentional", True)           
         
         result = PT.make_numpy_ndarray(i[0])
         
         self.assertEqual(type(result), check_type)