Handles the restoration of any potential global state set.

def _teardown(self):
        "Handles the restoration of any potential global state set."
        self.example.after(self.context)
        if self.is_root_runner:
            run.after_all.execute(self.context)
        #self.context = self.context._parent
        self.has_ran = True