nealtanner / pysm

Versatile and flexible Python State Machine library
http://pysm.readthedocs.io/
MIT License
0 stars 0 forks source link

incorrect transition sequence #3

Open nealtanner opened 1 year ago

nealtanner commented 1 year ago

In ad hoc testing I saw what I think were some extraneous entry/exits higher up the state tree than necessary. I need to come back with a specific test case for this. It is possible that I introduced this error with PR #1,

See https://en.wikipedia.org/wiki/UML_state_machine#Transition_execution_sequence for a description of how transitions are supposed to work according to the UML spec.

nealtanner commented 1 year ago

Confirmed incorrect behavior with unit test in commit 534dd9f