Ejemplo n.º 1
0
 def test_invalid_axis_type_in_tuple(self):
     with self.assertRaises(TypeError):
         functions.Sum((1, 'x'))
Ejemplo n.º 2
0
 def test_duplicate_axis(self):
     with self.assertRaises(ValueError):
         functions.Sum((0, 0))
Ejemplo n.º 3
0
 def test_invalid_axis_type(self):
     with self.assertRaises(TypeError):
         functions.Sum([0])