def METHOD_NAME(tmp_path):
    """Verify that automatic versioning works."""
    (tmp_path / "exp" / "version_0").mkdir(parents=True)
    (tmp_path / "exp" / "version_1").mkdir()
    logger = CSVLogger(root_dir=tmp_path, name="exp")
    assert logger.version == 2