[lang-ref] ( touch_file ) ( python )

def test_touch_file(pushd):
    # p.touch()
    p = Path('a.txt')
    assert not p.is_file()

    p.touch()
    assert p.is_file()