It is sometimes useful to use to_state() when testing even if we don't have special separator characters.
Therefor, this method should work with enumerations as states as well.
Coverage decreased (-0.3%) to 98.224% when pulling 1b46cd8357626e7782391430957a51fb2ba2953f on thedrow:patch-3 into f7cc995c4e088974d49371d9583d9bcb3f2a731d on pytransitions:master.
It is sometimes useful to use
to_state()
when testing even if we don't have special separator characters. Therefor, this method should work with enumerations as states as well.