def METHOD_NAME(tmp_path_factory: TempPathFactory):
    dir1 = tmp_path_factory.mktemp("dir1")
    (dir1 / "file.txt").write_text("Hello!")
    dir2 = tmp_path_factory.mktemp("dir2")
    (dir2 / "file.txt").write_text("Hello!")
    assert rasa.utils.io.are_directories_equal(dir1, dir2)