def test(self):
        """ Updating state. Must be called twice to reach final state."""
        if self.root._state in "Pre final state":
            self.root._state = "Pre final state"
        else:
            self.root._state = "Final state"
dataset/ETHPy150Open circuits/circuits/tests/core/test_complete.py/Nested3.test/operator `!=` -> `in`