'Verify error behavior of moveTo: it should raises one of OSError or
IOError if you want to move a path into one of its child. It\'s simply
the error raised by the underlying rename system call.'

def test_moveToError(self):

    self.assertRaises((OSError, IOError), self.path.moveTo, self.path.child('file1'))
