def test_export_manifest_jar(self):
    ctimes = []
    manifest_jar_path = "dist/export-classpath/manifest.jar"
    for _ in range(2):
      pants_run = self.run_pants(["export-classpath",
                                  "--manifest-jar-only",
                                  "examples/src/java/org/pantsbuild/example/hello/simple"])
      self.assert_success(pants_run)
      self.assertTrue(os.path.exists(manifest_jar_path))
      (mode, ino, dev, nlink, uid, gid, size, atime, mtime, ctime) = os.stat(manifest_jar_path)
      ctimes.append(ctime)
      # ctime is only accurate to second.
      time.sleep(1)

    self.assertTrue(ctimes[0] > ctimes[1], "{} is not overwritten.".format(manifest_jar_path))
dataset/ETHPy150Open pantsbuild/pants/tests/python/pants_test/backend/jvm/tasks/test_export_classpath_integration.py/ExportClasspathIntegrationTest.test_export_manifest_jar/swapped operands of `>`