Ejemplo n.º 1
0
 def test_uint_cube_float_cube(self):
     with self.assertRaisesRegexp(ArithmeticError, self.emsg):
         _inplace_common_checks(self.uint_cube, self.float_cube, self.op)
Ejemplo n.º 2
0
 def test_float_cube__scalar_float(self):
     result = _inplace_common_checks(self.float_cube, self.scalar_float,
                                     self.op)
     self.assertIsNone(result)
Ejemplo n.º 3
0
 def test_int_cubes(self):
     result = _inplace_common_checks(self.int_cube, self.int_cube, self.op)
     self.assertIsNone(result)
Ejemplo n.º 4
0
 def test_float_cube_uint_cube(self):
     result = _inplace_common_checks(self.float_cube, self.uint_cube,
                                     self.op)
     self.assertIsNone(result)
Ejemplo n.º 5
0
 def test_int_cube__scalar_float(self):
     with self.assertRaisesRegexp(ArithmeticError, self.emsg):
         _inplace_common_checks(self.int_cube, self.scalar_float, self.op)
Ejemplo n.º 6
0
 def test_int_cube__float_array(self):
     with self.assertRaisesRegexp(ArithmeticError, self.emsg):
         _inplace_common_checks(self.int_cube, self.float_data, self.op)
Ejemplo n.º 7
0
 def test_uint_cube__int_array(self):
     with self.assertRaisesRegex(ArithmeticError, self.emsg):
         _inplace_common_checks(self.uint_cube, self.int_cube, self.op)
Ejemplo n.º 8
0
 def test_float_cube__float_array(self):
     result = _inplace_common_checks(self.float_cube, self.float_data,
                                     self.op)
     self.assertIsNone(result)
Ejemplo n.º 9
0
 def test_uint_cube_float_cube(self):
     with self.assertRaisesRegexp(ArithmeticError, self.emsg):
         _inplace_common_checks(self.uint_cube, self.float_cube, self.op)
Ejemplo n.º 10
0
 def test_float_cube__scalar_float(self):
     result = _inplace_common_checks(self.float_cube, self.scalar_float,
                                     self.op)
     self.assertIsNone(result)
Ejemplo n.º 11
0
 def test_float_cube_uint_cube(self):
     result = _inplace_common_checks(self.float_cube, self.uint_cube,
                                     self.op)
     self.assertIsNone(result)
Ejemplo n.º 12
0
 def test_int_cubes(self):
     result = _inplace_common_checks(self.int_cube, self.int_cube, self.op)
     self.assertIsNone(result)
Ejemplo n.º 13
0
 def test_int_cube__float_array(self):
     with self.assertRaisesRegexp(ArithmeticError, self.emsg):
         _inplace_common_checks(self.int_cube, self.float_data, self.op)
Ejemplo n.º 14
0
 def test_int_cube__scalar_float(self):
     with self.assertRaisesRegexp(ArithmeticError, self.emsg):
         _inplace_common_checks(self.int_cube, self.scalar_float, self.op)
Ejemplo n.º 15
0
 def test_float_cube__float_array(self):
     result = _inplace_common_checks(self.float_cube, self.float_data,
                                     self.op)
     self.assertIsNone(result)