def touch(fname):
orig_mtime = get_mtime(fname)<EOL>while get_mtime(fname) == orig_mtime:<EOL><INDENT>pathlib.Path(fname).touch()<EOL><DEDENT>
Mimics the `touch` command

Busy loops until the mtime has actually been changed, use for tests only