(self)
| 114 | print("ConcreteStateB handles request1.") |
| 115 | |
| 116 | def handle2(self) -> None: |
| 117 | print("ConcreteStateB handles request2.") |
| 118 | print("ConcreteStateB wants to change the state of the context.") |
| 119 | self.context.transition_to(ConcreteStateA()) |
| 120 | |
| 121 | |
| 122 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected