def FakeRename(src, dst):
 raise OSError(errno.EPERM, 'Operation not permitted', src)

def FakeRename ( src , dst ) : raise OSError ( errno . EPERM , 'Operation not permitted' , src )
fake version of os .