class_docstr: Base class for EncoderDecoder tests. Tests for specific classes should
  inherit from this and tf.test.TestCase.
code: def tearDown(self):
      self.vocab_file.close()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from collections import namedtuple
  import yaml
  import numpy
  import tensorflow
  from seq2seq.data import vocab, input_pipeline
  from seq2seq.training import utils
  from seq2seq.test import utils
  from seq2seq.models import BasicSeq2Seq, AttentionSeq2Seq
label_desc: Use image node_id 2 for calling the EncoderDecoderTests obj's underlying member method code with example usage: obj.tearDown() without return types