def METHOD_NAME(self):
    """If cwd is under topobjdir, we can't clobber."""
    c = Clobberer(self.get_topsrcdir(), self.get_tempdir())
    with open(c.obj_clobber, "a"):
        pass
    old_time = os.path.getmtime(c.src_clobber) - 60
    os.utime(c.obj_clobber, (old_time, old_time))
    d = os.path.join(c.topobjdir, "dummy_dir")
    os.mkdir(d)
    required, performed, reason = c.maybe_do_clobber(d, True)
    self.assertTrue(required)
    self.assertFalse(performed)
    self.assertIn("Cannot clobber while the shell is inside", reason)