class_docstr: Tests that some TranslateEnde subclasses inherit information correctly.
class_docstr_tok: ["Tests","that","some","TranslateEnde","subclasses","inherit","information","correctly","."]
code: def test_source_data_files(self):
      wmt_8k = translate_ende.TranslateEndeWmt8k()
      wmt_32k = translate_ende.TranslateEndeWmt32k()
      eval_split = problem.DatasetSplit.EVAL
      train_split = problem.DatasetSplit.TRAIN
  
      wmt_8k_eval_files = wmt_8k.source_data_files(eval_split)
      wmt_32k_eval_files = wmt_32k.source_data_files(eval_split)
      self.assertListEqual(wmt_8k_eval_files, wmt_32k_eval_files)
      self.assertGreater(len(wmt_8k_eval_files), 0)
  
      wmt_8k_train_files = wmt_8k.source_data_files(train_split)
      wmt_32k_train_files = wmt_32k.source_data_files(train_split)
      self.assertListEqual(wmt_8k_train_files, wmt_32k_train_files)
      self.assertGreater(len(wmt_8k_train_files), 0)
  
file_path: tensor2tensor/tensor2tensor/data_generators/translate_ende_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tensor2tensor.data_generators import problem
  from tensor2tensor.data_generators import translate_ende
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling the TranslateEndeTest obj's underlying member method code with example usage: obj.test_source_data_files() without return types