message: add simple test for print_v1 function
diff: @@ -69,6 +69,20 @@ class LoggingOpsTest(test.TestCase):
  self.evaluate(out)
  +class PrintV1Test(test.TestCase):
  +
  + @test_util.run_in_graph_and_eager_modes()
  + def testPrintOneTensor(self):
  + with self.cached_session():
  + tensor = math_ops.range(10)
  + with self.captureWritesToStream(sys.stderr) as printed:
  + print_op = logging_ops.print_v1(tensor)
  + self.evaluate(print_op)
  +
  + expected = "[0 1 2 ... 7 8 9]"
  + self.assertTrue((expected + "\n") in printed.contents())
  +
  +
  class PrintV2Test(test.TestCase):
  @test_util.run_in_graph_and_eager_modes()
  