'If the mount fails, the temporary mountpoint is removed and the
MountError is raised.'

def test_mount_error(self):

    e = self.assertRaises(MountError, temporary_mount, self.make_temporary_file())
    self.assertFalse(e.mountpoint.exists())
