

def test_skip_non_file(self):
    os.mkdir(self.build_dir)
    replace_file = os.path.join(self.build_dir, 'filea.txt')
    os.mkdir(self)
    self.build_scaffold('test-template-2', overwrite_target_root=True)
    assert self.exists('filea.txt', type='dir')
    assert self.logged('Skipping existing non-file', level='error')

dataset/ETHPy150Open fgimian/flaskage/tests/test_scaffold.py TestScaffold.test_skip_non_file/VarMisuse@38/51 `replace_file`->`self`