class_docstr: Tests the ParallelDataProvider class
    
class_docstr_tok: ["Tests","the","ParallelDataProvider","class"]
code: def setUp(self):
      super(ParallelDataProviderTest, self).setUp()
      # Our data
      self.source_lines = ["Hello", "World", "!", "笑"]
      self.target_lines = ["1", "2", "3", "笑"]
      self.source_to_target = dict(
          zip(self.source_lines, self.target_lines)
      )
  
      # Create two parallel text files
      self.source_file = tempfile.NamedTemporaryFile()
      self.target_file = tempfile.NamedTemporaryFile()
      self.source_file.write(
          "\n".join(self.source_lines).encode("utf-8")
      )
      self.source_file.flush()
      self.target_file.write(
          "\n".join(self.target_lines).encode("utf-8")
      )
      self.target_file.flush()
  
file_path: seq2seq/seq2seq/test/data_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import tempfile
  import tensorflow
  import numpy
  from seq2seq.data import split_tokens_decoder
  from seq2seq.data.parallel_data_provider import make_parallel_data_provider
label_desc: Use image node_id 1 for calling the ParallelDataProviderTest obj's underlying member method code with example usage: obj.setUp() without return types