message: Update dtypes for the test cases
diff: @@ -55,23 +55,24 @@ class PyFuncTest(test.TestCase):
  def testRealDataTypes(self):
  def sum_func(x, y):
  return x + y
  - for dtype in [np.float16, np.float32, np.float64,
  - np.uint8, np.int8, np.uint16, np.int16, np.int32, np.int64]:
  + for dtype in [dtypes.float16, dtypes.float32, dtypes.float64,
  + dtypes.uint8, dtypes.int8, dtypes.uint16, dtypes.int16,
  + dtypes.int32, dtypes.int64]:
  with self.test_session():
  x = constant_op.constant(1, dtype=dtype)
  y = constant_op.constant(2, dtype=dtype)
  z = self.evaluate(script_ops.py_func(sum_func, [x, y], dtype))
  - self.assertEqual(z, dtype(3))
  + self.assertEqual(z, 3)
  def testComplexDataTypes(self):
  def sub_func(x, y):
  return x - y
  - for dtype in [np.complex64, np.complex128]:
  + for dtype in [dtypes.complex64, dtypes.complex128]:
  with self.test_session():
  x = constant_op.constant(1 + 1j, dtype=dtype)
  y = constant_op.constant(2 - 2j, dtype=dtype)
  z = self.evaluate(script_ops.py_func(sub_func, [x, y], dtype))
  - self.assertEqual(z, dtype(-1 + 3j))
  + self.assertEqual(z, -1 + 3j)
  def testBoolDataTypes(self):
  def and_func(x, y):
  