def METHOD_NAME(self) -> None:
    """
    Rebuilding something that has a __hash__ that raises a non-TypeError
    shouldn't cause rebuild to die.
    """
    global unhashableObject
    unhashableObject = HashRaisesRuntimeError()
    def _cleanup() -> None:
        global unhashableObject
        unhashableObject = None
    self.addCleanup(_cleanup)
    rebuild.rebuild(rebuild)
    self.assertTrue(unhashableObject.hashCalled)