call site 0 for path.local.rename
path/testing/fscommon.py - line 207
204
205
206
207
208
209
   def test_move_file(self):
       p = self.root.join('samplefile')
       newp = p.dirpath('moved_samplefile')
->     p.move(newp)
       assert newp.check(file=1)
       assert not p.check()
path/common.py - line 368
363
364
365
366
367
368
369
370
371
   def move(self, target):
       """ move this path to target. """
       if target.relto(self):
           raise py.error.EINVAL(target, "cannot move path into a subdirectory of itself")
       try:
->         self.rename(target)
       except py.error.EXDEV:  # invalid cross-device link
           self.copy(target)
           self.remove()