code: def test_setting_filename_suffix_works(self):
      logdir = self.get_temp_dir()
  
      w = EventFileWriter(logdir, filename_suffix=".event_horizon")
      w.close()
      event_files = sorted(glob.glob(os.path.join(logdir, "*")))
      self.assertEqual(event_files[0].split(".")[-1], "event_horizon")
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import glob
  import os
  from tensorboardX.event_file_writer import EventFileWriter
  from tensorboardX.event_file_writer import EventFileWriter
  from tensorboardX.proto import event_pb2
  from tensorboardX.proto.summary_pb2 import Summary
  from tensorboard.compat.tensorflow_stub.pywrap_tensorflow import PyRecordReader_New
  import unittest
label_desc: Use image node_id 3 for calling the EventFileWriterTest obj's underlying member method code with example usage: obj.test_setting_filename_suffix_works() without return types