code: def test_invariant_under_mtime(self):
      tempdir = self.get_temp_dir()
  
      archive_1 = os.path.join(tempdir, "out_1.tar.gz")
      directory_1 = os.path.join(tempdir, "src_1")
      os.mkdir(directory_1)
      self._run_tool(
          [
              archive_1,
              self._write_file(
                  directory_1, "1.txt", "one", utime=(1, 2)
              ),
              self._write_file(
                  directory_1, "2.txt", "two", utime=(3, 4)
              ),
          ]
      )
  
      archive_2 = os.path.join(tempdir, "out_2.tar.gz")
      directory_2 = os.path.join(tempdir, "src_2")
      os.mkdir(directory_2)
      self._run_tool(
          [
              archive_2,
              self._write_file(
                  directory_2, "1.txt", "one", utime=(7, 8)
              ),
              self._write_file(
                  directory_2, "2.txt", "two", utime=(5, 6)
              ),
          ]
      )
  
      with open(archive_1, "rb") as infile:
          archive_1_contents = infile.read()
      with open(archive_2, "rb") as infile:
          archive_2_contents = infile.read()
  
      self.assertEqual(archive_1_contents, archive_2_contents)
  
file_path: tensorboard/tensorboard/pip_package/deterministic_tar_gz_test.py
imports: import gzip
  import os
  import subprocess
  import tarfile
  from tensorboard import test
label_desc: Use image node_id 5 for calling the DeterministicTarGzTest obj's underlying member method code with example usage: obj.test_invariant_under_mtime() without return types