code: def test_parse_time():
      time_format = "%Y-%m-%dT%H:%M:%E*S%Ez"
      items = [
          (
              "2019-05-17T23:56:09.05Z",
              time_format,
              "NANOSECOND",
              1558137369050000000,
          ),
          (
              "2019-05-17T23:56:09.05Z",
              time_format,
              "MICROSECOND",
              1558137369050000,
          ),
          (
              "2019-05-17T23:56:09.05Z",
              time_format,
              "MILLISECOND",
              1558137369050,
          ),
          (
              "2019-05-17T23:56:09.05Z",
              time_format,
              "SECOND",
              1558137369,
          ),
          (
              [
                  "2019-05-17T23:56:09.05Z",
                  "2019-05-20T11:22:33.44Z",
                  "2019-05-30T22:33:44.55Z",
              ],
              time_format,
              "MILLISECOND",
              [1558137369050, 1558351353440, 1559255624550],
          ),
      ]
      for time_string, time_format, output_unit, expected in items:
          result = text.parse_time(
              time_string=time_string,
              time_format=time_format,
              output_unit=output_unit,
          )
          np.testing.assert_equal(expected, result.numpy())
  
file_path: addons/tensorflow_addons/text/tests/parse_time_op_test.py
imports: import platform
  import numpy
  import pytest
  import tensorflow
  from tensorflow_addons import text
label_desc: Use image node_id 1 for calling a global function with example usage: test_parse_time() without return types