message: Split test into two, as otherwise the same dtype will be reused in internal tests
  and cause testing to fail.
diff: @@ -456,10 +456,18 @@ class ZerosTest(test.TestCase):
  self.assertFalse(np.any(z_value))
  self.assertEqual((2, 3), z_value.shape)
  - def testQintDtype(self):
  - for dtype in [
  - dtypes_lib.qint8, dtypes_lib.quint8,
  - dtypes_lib.qint16, dtypes_lib.quint16]:
  + def testQint8Dtype(self):
  + dtype = dtypes_lib.qint8
  + z = array_ops.zeros([2, 3], dtype=dtype)
  + self.assertEqual(z.dtype, dtype)
  + self.assertEqual([2, 3], z.get_shape())
  + # cast to int32 so that it can be compred with numpy
  + # where [qint|quint][8|16] are not available.
  + z_value = self.evaluate(math_ops.cast(z, dtypes_lib.int32))
  + self.assertFalse(np.any(z_value))
  +
  + def testQint16Dtype(self):
  + dtype = dtypes_lib.qint16
  z = array_ops.zeros([2, 3], dtype=dtype)
  self.assertEqual(z.dtype, dtype)
  self.assertEqual([2, 3], z.get_shape())
  