code: def test_policylive_uploads_nonempty_unchanged_file_on_modified(
      tempdir: Path, file_pusher: Mock
  ):
      f = tempdir / "my-file.txt"
      write_with_mtime(f, b"content", mtime=0)
      policy = PolicyLive(str(f), f.name, file_pusher)
      policy.on_modified()
      file_pusher.file_changed.assert_called_once_with(f.name, str(f))
  
imports: import os
  import tempfile
  import time
  from pathlib import Path
  from typing import TYPE_CHECKING, Callable
  from unittest.mock import Mock, patch
  import pytest
  import wandb.filesync.dir_watcher
  from wandb.filesync.dir_watcher import DirWatcher, PolicyEnd, PolicyLive, PolicyNow
  from wandb.sdk.internal.file_pusher import FilePusher
label_desc: Use image node_id 15 for calling a global function with example usage: test_policylive_uploads_nonempty_unchanged_file_on_modified(tempdir, file_pusher) without return types